C# Class Newtonsoft.Json.Linq.ComponentModel.JTypeDescriptor

Represents a view of a JObject.
Inheritance: ICustomTypeDescriptor
Mostrar archivo Open project: runegri/Applicable Class Usage Examples

Public Methods

Method Description
GetAttributes ( ) : AttributeCollection

Returns a collection of custom attributes for this instance of a component.

GetClassName ( ) : string

Returns the class name of this instance of a component.

GetComponentName ( ) : string

Returns the name of this instance of a component.

GetConverter ( ) : TypeConverter

Returns a type converter for this instance of a component.

GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor

Returns the default event for this instance of a component.

GetDefaultProperty ( ) : PropertyDescriptor

Returns the default property for this instance of a component.

GetEditor ( Type editorBaseType ) : object

Returns an editor of the specified type for this instance of a component.

GetEvents ( ) : EventDescriptorCollection

Returns the events for this instance of a component.

GetEvents ( Attribute attributes ) : EventDescriptorCollection

Returns the events for this instance of a component using the specified attribute array as a filter.

GetProperties ( ) : PropertyDescriptorCollection

Returns the properties for this instance of a component.

GetProperties ( Attribute attributes ) : PropertyDescriptorCollection

Returns the properties for this instance of a component using the attribute array as a filter.

GetPropertyOwner ( PropertyDescriptor pd ) : object

Returns an object that contains the property described by the specified property descriptor.

JTypeDescriptor ( JObject value ) : System

Initializes a new instance of the JTypeDescriptor class.

Private Methods

Method Description
GetTokenPropertyType ( JToken token ) : Type

Method Details

GetAttributes() public method

Returns a collection of custom attributes for this instance of a component.
public GetAttributes ( ) : AttributeCollection
return System.ComponentModel.AttributeCollection

GetClassName() public method

Returns the class name of this instance of a component.
public GetClassName ( ) : string
return string

GetComponentName() public method

Returns the name of this instance of a component.
public GetComponentName ( ) : string
return string

GetConverter() public method

Returns a type converter for this instance of a component.
public GetConverter ( ) : TypeConverter
return System.ComponentModel.TypeConverter

GetDefaultEvent() public method

Returns the default event for this instance of a component.
public GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor

GetDefaultProperty() public method

Returns the default property for this instance of a component.
public GetDefaultProperty ( ) : PropertyDescriptor
return System.ComponentModel.PropertyDescriptor

GetEditor() public method

Returns an editor of the specified type for this instance of a component.
public GetEditor ( Type editorBaseType ) : object
editorBaseType Type A that represents the editor for this object.
return object

GetEvents() public method

Returns the events for this instance of a component.
public GetEvents ( ) : EventDescriptorCollection
return EventDescriptorCollection

GetEvents() public method

Returns the events for this instance of a component using the specified attribute array as a filter.
public GetEvents ( Attribute attributes ) : EventDescriptorCollection
attributes Attribute An array of type that is used as a filter.
return EventDescriptorCollection

GetProperties() public method

Returns the properties for this instance of a component.
public GetProperties ( ) : PropertyDescriptorCollection
return PropertyDescriptorCollection

GetProperties() public method

Returns the properties for this instance of a component using the attribute array as a filter.
public GetProperties ( Attribute attributes ) : PropertyDescriptorCollection
attributes Attribute An array of type that is used as a filter.
return PropertyDescriptorCollection

GetPropertyOwner() public method

Returns an object that contains the property described by the specified property descriptor.
public GetPropertyOwner ( PropertyDescriptor pd ) : object
pd PropertyDescriptor A that represents the property whose owner is to be found.
return object

JTypeDescriptor() public method

Initializes a new instance of the JTypeDescriptor class.
public JTypeDescriptor ( JObject value ) : System
value JObject The value.
return System