C# Class Jayrock.Json.Conversion.CustomTypeDescriptor.TypeMemberDescriptor

A base PropertyDescriptor implementation for a type member (MemberInfo).
Inheritance: System.ComponentModel.PropertyDescriptor, IPropertyImpl, IPropertyCustomization, IServiceContainer
显示文件 Open project: atifaziz/Jayrock

Private Properties

Property Type Description
ApplyCustomizations void
ChooseName string
IPropertyCustomization IPropertyImpl
IPropertyCustomization void
IPropertyCustomization void
IPropertyImpl object
IPropertyImpl void
IServiceContainer void
IServiceContainer void
IServiceContainer void
IServiceContainer void
IServiceContainer void
IServiceContainer void
IServiceProvider object
ToCamelCase string

Public Methods

Method Description
CanResetValue ( object component ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetValue ( object component ) : object
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

Protected Methods

Method Description
GetValueImpl ( object component ) : object
SetValueImpl ( object component, object value ) : void
TypeMemberDescriptor ( MemberInfo member, string name, Type propertyType ) : System

Private Methods

Method Description
ApplyCustomizations ( ) : void
ChooseName ( string propsedName, string baseName ) : string
IPropertyCustomization ( IPropertyImpl impl ) : IPropertyImpl
IPropertyCustomization ( Type type ) : void
IPropertyCustomization ( string name ) : void
IPropertyImpl ( object obj ) : object
IPropertyImpl ( object obj, object value ) : void
IServiceContainer ( Type serviceType ) : void
IServiceContainer ( Type serviceType, ServiceCreatorCallback callback ) : void
IServiceContainer ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void
IServiceContainer ( Type serviceType, bool promote ) : void
IServiceContainer ( Type serviceType, object serviceInstance ) : void
IServiceContainer ( Type serviceType, object serviceInstance, bool promote ) : void
IServiceProvider ( Type serviceType ) : object
ToCamelCase ( string s ) : string

Method Details

CanResetValue() public method

public CanResetValue ( object component ) : bool
component object
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetValue() public method

public GetValue ( object component ) : object
component object
return object

GetValueImpl() protected abstract method

protected abstract GetValueImpl ( object component ) : object
component object
return object

ResetValue() public method

public ResetValue ( object component ) : void
component object
return void

SetValue() public method

public SetValue ( object component, object value ) : void
component object
value object
return void

SetValueImpl() protected abstract method

protected abstract SetValueImpl ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

public ShouldSerializeValue ( object component ) : bool
component object
return bool

TypeMemberDescriptor() protected method

protected TypeMemberDescriptor ( MemberInfo member, string name, Type propertyType ) : System
member System.Reflection.MemberInfo
name string
propertyType System.Type
return System