C# Class NMF.Serialization.XmlPropertySerializationInfo

Inheritance: IPropertySerializationInfo
显示文件 Open project: NMFCode/NMF

Private Properties

Property Type Description

Public Methods

Method Description
AddToCollection ( object input, object item, XmlSerializationContext context ) : void
ConvertFromString ( string text ) : object
ConvertToString ( object input ) : string
GetValue ( object obj, XmlSerializationContext context ) : object
SetDefaultValue ( object obj ) : void
SetValue ( object obj, object value, XmlSerializationContext context ) : void
ShouldSerializeValue ( object obj, object value ) : bool

Protected Methods

Method Description
XmlPropertySerializationInfo ( PropertyInfo property ) : System

Method Details

AddToCollection() public method

public AddToCollection ( object input, object item, XmlSerializationContext context ) : void
input object
item object
context XmlSerializationContext
return void

ConvertFromString() public method

public ConvertFromString ( string text ) : object
text string
return object

ConvertToString() public method

public ConvertToString ( object input ) : string
input object
return string

GetValue() public abstract method

public abstract GetValue ( object obj, XmlSerializationContext context ) : object
obj object
context XmlSerializationContext
return object

SetDefaultValue() public abstract method

public abstract SetDefaultValue ( object obj ) : void
obj object
return void

SetValue() public abstract method

public abstract SetValue ( object obj, object value, XmlSerializationContext context ) : void
obj object
value object
context XmlSerializationContext
return void

ShouldSerializeValue() public abstract method

public abstract ShouldSerializeValue ( object obj, object value ) : bool
obj object
value object
return bool

XmlPropertySerializationInfo() protected method

protected XmlPropertySerializationInfo ( PropertyInfo property ) : System
property System.Reflection.PropertyInfo
return System