Save every class you want? Look here :D

Here is the place to post images, videos and downloads of your current and upcoming applications that you are working on.
2 posts Page 1 of 1
Contributors
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

So im working on this project that allows you to save every class you want. Your own custom created or the pre-existing framework classes. Earlier, you had the option to serialize the class. But not every class could be serialized, which sucks. So this is the solution. It will be a DLL which you can reference to your projects, and then use a simple function to save any instance of a class. It saves public and private fields and properties. Public Sub SaveClass([Class] As Object) As Byte()
The data returned from ^^ will be in this format:
  • String Type_Name
  • Int Block_Length
    • Byte Type_Code
    • Byte Member_Type
    • UInt Index
    • If Type_Code = TypeCode.Object
    • Byte() SaveClass(Value)
    • Else
    • Byte() SaveBaseType(Value)
The data will be compressed.
(Dont read this if you dont understand it) The only disadvantage is that it will not be able to save properties with index parameters.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

:lol:

can't wait to test it :D
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
2 posts Page 1 of 1
Return to “Work in Progress”