Public Member Functions | Properties | List of all members
GridGain.Portable.PortableTypeConfiguration Class Reference

Portable type configuration. More...

Public Member Functions

 PortableTypeConfiguration ()
 Constructor. More...
 
 PortableTypeConfiguration (string typeName)
 Constructor. More...
 
 PortableTypeConfiguration (Type type)
 Constructor. More...
 
 PortableTypeConfiguration (PortableTypeConfiguration cfg)
 Copying constructor. More...
 
override String ToString ()
 Returns a string that represents the current object. More...
 

Properties

string AssemblyName [get, set]
 Assembly name. More...
 
string TypeName [get, set]
 Fully qualified type name. More...
 
IPortableNameMapper NameMapper [get, set]
 Name mapper for the given type. More...
 
IPortableIdMapper IdMapper [get, set]
 ID mapper for the given type. When it is necessary to resolve class (field) ID, then this property will be checked first. If not set, then PortableClassIdAttribute (PortableFieldIdAttribute) will be checked in class through reflection. If required attribute is not set, then ID will be hash code of the class (field) simple name in lower case. More...
 
IPortableSerializer Serializer [get, set]
 Serializer for the given type. If not provided and class implements IPortable then its custom logic will be used. If not provided and class doesn't implement IPortable then all fields of the class except of those with [NotSerialized] attribute will be serialized with help of reflection. More...
 
string AffinityKeyFieldName [get, set]
 Affinity key field name. More...
 
bool MetadataEnabled [get, set]
 Metadata enabled flag. If set to non-null value, overrides default value set in PortableConfiguration. More...
 
bool KeepDeserialized [get, set]
 Keep deserialized flag. If set to non-null value, overrides default value set in PortableConfiguration. More...
 

Detailed Description

Constructor & Destructor Documentation

GridGain.Portable.PortableTypeConfiguration.PortableTypeConfiguration ( )
GridGain.Portable.PortableTypeConfiguration.PortableTypeConfiguration ( string  typeName)
Parameters
typeNameType name.
GridGain.Portable.PortableTypeConfiguration.PortableTypeConfiguration ( Type  type)
Parameters
typeType.
GridGain.Portable.PortableTypeConfiguration.PortableTypeConfiguration ( PortableTypeConfiguration  cfg)
Parameters
cfgConfiguration to copy.

Member Function Documentation

override String GridGain.Portable.PortableTypeConfiguration.ToString ( )
Returns
A string that represents the current object.

Property Documentation

string GridGain.Portable.PortableTypeConfiguration.AffinityKeyFieldName
getset
string GridGain.Portable.PortableTypeConfiguration.AssemblyName
getset
IPortableIdMapper GridGain.Portable.PortableTypeConfiguration.IdMapper
getset
bool GridGain.Portable.PortableTypeConfiguration.KeepDeserialized
getset
bool GridGain.Portable.PortableTypeConfiguration.MetadataEnabled
getset
IPortableNameMapper GridGain.Portable.PortableTypeConfiguration.NameMapper
getset
IPortableSerializer GridGain.Portable.PortableTypeConfiguration.Serializer
getset
string GridGain.Portable.PortableTypeConfiguration.TypeName
getset