C# Class MigraDoc.DocumentObjectModel.Internals.ValueDescriptor

Base class of all value descriptor classes.
Mostrar archivo Open project: DavidS/MigraDoc Class Usage Examples

Public Properties

Property Type Description
MemberType System.Type
ValueName string
ValueType System.Type

Protected Properties

Property Type Description
memberInfo System.Reflection.MemberInfo

Public Methods

Method Description
CreateValue ( ) : object
GetValue ( DocumentObject dom, GV flags ) : object
IsNull ( DocumentObject dom ) : bool
SetNull ( DocumentObject dom ) : void
SetValue ( DocumentObject dom, object val ) : void

Private Methods

Method Description
CreateValueDescriptor ( MemberInfo memberInfo, MigraDoc.DocumentObjectModel.Internals.DVAttribute attr ) : ValueDescriptor
ValueDescriptor ( string valueName, Type valueType, Type memberType, MemberInfo memberInfo, VDFlags flags ) : System

Method Details

CreateValue() public method

public CreateValue ( ) : object
return object

GetValue() public abstract method

public abstract GetValue ( DocumentObject dom, GV flags ) : object
dom DocumentObject
flags GV
return object

IsNull() public abstract method

public abstract IsNull ( DocumentObject dom ) : bool
dom DocumentObject
return bool

SetNull() public abstract method

public abstract SetNull ( DocumentObject dom ) : void
dom DocumentObject
return void

SetValue() public abstract method

public abstract SetValue ( DocumentObject dom, object val ) : void
dom DocumentObject
val object
return void

Property Details

MemberType public_oe property

Type of the described field or property, e.g. typeof(NInt) for an NInt.
public Type,System MemberType
return System.Type

ValueName public_oe property

Name of the value.
public string ValueName
return string

ValueType public_oe property

Type of the described value, e.g. typeof(Int32) for an NInt.
public Type,System ValueType
return System.Type

memberInfo protected_oe property

FieldInfo of the described field.
protected MemberInfo,System.Reflection memberInfo
return System.Reflection.MemberInfo