C# Class Mini.IniSerializerBase

The shared base class of IniSerializer.
Static fields in generic classes are duplicated for each combination of type parameters. If, however, a generic class derives from a non-generic class with static fields, then they are shared between all combinations. Thus, this class implements real work, and IniSerializer simply provides a type- and thread-safe interface.
Show file Open project: kinghajj/mini

Protected Properties

Property Type Description
IniValueContainerAttributeType System.Type
Lock object
Products IniSerializerBase>.IDictionary

Protected Methods

Method Description
DeserializeType ( Type type, IniDocument ini ) : object
Process ( Type type ) : void
SerializeType ( Type type, object obj, IniDocument ini ) : void

Private Methods

Method Description
IniSerializerBase ( ) : System

Method Details

DeserializeType() protected static method

protected static DeserializeType ( Type type, IniDocument ini ) : object
type System.Type
ini IniDocument
return object

Process() protected static method

protected static Process ( Type type ) : void
type System.Type
return void

SerializeType() protected static method

protected static SerializeType ( Type type, object obj, IniDocument ini ) : void
type System.Type
obj object
ini IniDocument
return void

Property Details

IniValueContainerAttributeType protected static property

protected static Type,System IniValueContainerAttributeType
return System.Type

Lock protected static property

protected static object Lock
return object

Products protected static property

protected static IDictionary Products
return IniSerializerBase>.IDictionary