C# 클래스 Newtonsoft.Json.Linq.ComponentModel.JPropertyDescriptor

Represents a view of a JProperty.
상속: System.ComponentModel.PropertyDescriptor
파일 보기 프로젝트 열기: runegri/Applicable

공개 메소드들

메소드 설명
CanResetValue ( object component ) : bool

When overridden in a derived class, returns whether resetting an object changes its value.

GetValue ( object component ) : object

When overridden in a derived class, gets the current value of the property on a component.

JPropertyDescriptor ( string name, Type propertyType ) : System

Initializes a new instance of the JPropertyDescriptor class.

ResetValue ( object component ) : void

When overridden in a derived class, resets the value for this property of the component to the default value.

SetValue ( object component, object value ) : void

When overridden in a derived class, sets the value of the component to a different value.

ShouldSerializeValue ( object component ) : bool

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.

비공개 메소드들

메소드 설명
CastInstance ( object instance ) : JObject

메소드 상세

CanResetValue() 공개 메소드

When overridden in a derived class, returns whether resetting an object changes its value.
public CanResetValue ( object component ) : bool
component object The component to test for reset capability. ///
리턴 bool

GetValue() 공개 메소드

When overridden in a derived class, gets the current value of the property on a component.
public GetValue ( object component ) : object
component object The component with the property for which to retrieve the value. ///
리턴 object

JPropertyDescriptor() 공개 메소드

Initializes a new instance of the JPropertyDescriptor class.
public JPropertyDescriptor ( string name, Type propertyType ) : System
name string The name.
propertyType System.Type Type of the property.
리턴 System

ResetValue() 공개 메소드

When overridden in a derived class, resets the value for this property of the component to the default value.
public ResetValue ( object component ) : void
component object The component with the property value that is to be reset to the default value. ///
리턴 void

SetValue() 공개 메소드

When overridden in a derived class, sets the value of the component to a different value.
public SetValue ( object component, object value ) : void
component object The component with the property value that is to be set. ///
value object The new value. ///
리턴 void

ShouldSerializeValue() 공개 메소드

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
public ShouldSerializeValue ( object component ) : bool
component object The component with the property to be examined for persistence. ///
리턴 bool