C# 클래스 Tortuga.Anchor.Modeling.Internals.PropertyBag

This is the simplest implementation of PropertyBagBase. It supports normal property-change notifications and validation events.
상속: PropertyBagBase
파일 보기 프로젝트 열기: docevaad/Anchor 1 사용 예제들

공개 메소드들

메소드 설명
GetValue ( [ propertyName = null ) : object

Implementors need to override this to return the indicated value.

IsDefined ( [ propertyName = null ) : bool

This property indicates whether or not the associated property was created.

PropertyBag ( object owner ) : System

This is the simplest implementation of PropertyBagBase. It supports normal property-change notifications and validation events.

Set ( object value, PropertySetModes mode, string propertyName, object &oldValue ) : bool

Implementors need to override this to save the indicated value.

This will create the property if it doesn't already exist

메소드 상세

GetValue() 공개 메소드

Implementors need to override this to return the indicated value.
propertyName;propertyName is null propertyName is empty.;propertyName
public GetValue ( [ propertyName = null ) : object
propertyName [ Name of the property to fetch.
리턴 object

IsDefined() 공개 메소드

This property indicates whether or not the associated property was created.
propertyName;propertyName is null propertyName is empty.;propertyName
public IsDefined ( [ propertyName = null ) : bool
propertyName [
리턴 bool

PropertyBag() 공개 메소드

This is the simplest implementation of PropertyBagBase. It supports normal property-change notifications and validation events.
public PropertyBag ( object owner ) : System
owner object Pass-through to PropertyBagBase
리턴 System

Set() 공개 메소드

Implementors need to override this to save the indicated value.
This will create the property if it doesn't already exist
propertyName;propertyName is null propertyName is empty.;propertyName
public Set ( object value, PropertySetModes mode, string propertyName, object &oldValue ) : bool
value object The value to be saved. A null will set the value to null.
mode PropertySetModes Indicates special handling for the action. Ignores SetAsOriginal.
propertyName string Name of property to update
oldValue object The previously stored value. If the property was uninitialized, this will return NotSet.Value
리턴 bool