C# 클래스 Caliburn.Micro.SurviveTombstone

상속: System.Attribute, ITombstone
파일 보기 프로젝트 열기: dbuksbaum/Learning-Caliburn.Micro

공개 메소드들

메소드 설명
Resurrect ( IPhoneService phoneService, object owner, PropertyInfo property, object value, string rootKey ) : void

Resurrects the class/property.

Tombstone ( IPhoneService phoneService, object owner, PropertyInfo property, object value, string rootKey ) : void

Tombstones the class/property.

보호된 메소드들

메소드 설명
GetPersistableItems ( List items, string key ) : IEnumerable>

Returns the persistable items from the collection.

GetPersistableProperties ( object instance, string key ) : IEnumerable>

Gets all the persistable properties of the instance.

GetStateKey ( object instance, string rootKey ) : string

Determines the persistence key for the instance.

IsComplexType ( Type type ) : bool

Determines if the type is a complext type.

메소드 상세

GetPersistableItems() 보호된 메소드

Returns the persistable items from the collection.
protected GetPersistableItems ( List items, string key ) : IEnumerable>
items List The items to inspect.
key string The root persistence key.
리턴 IEnumerable>

GetPersistableProperties() 보호된 메소드

Gets all the persistable properties of the instance.
protected GetPersistableProperties ( object instance, string key ) : IEnumerable>
instance object The instance to inspect for persistable properties.
key string The root persistence key.
리턴 IEnumerable>

GetStateKey() 보호된 메소드

Determines the persistence key for the instance.
protected GetStateKey ( object instance, string rootKey ) : string
instance object The instance to determine the key for.
rootKey string The root key.
리턴 string

IsComplexType() 보호된 메소드

Determines if the type is a complext type.
protected IsComplexType ( Type type ) : bool
type System.Type
리턴 bool

Resurrect() 공개 메소드

Resurrects the class/property.
public Resurrect ( IPhoneService phoneService, object owner, PropertyInfo property, object value, string rootKey ) : void
phoneService IPhoneService An instance of the phone service.
owner object The owner of the property or null if it is the root.
property System.Reflection.PropertyInfo The property to resurrect or null if the value is the root.
value object The value to resurrect.
rootKey string The key to use for resurrection.
리턴 void

Tombstone() 공개 메소드

Tombstones the class/property.
public Tombstone ( IPhoneService phoneService, object owner, PropertyInfo property, object value, string rootKey ) : void
phoneService IPhoneService An instance of the phone service.
owner object The owner of the property or null if it is the root.
property System.Reflection.PropertyInfo The property to persist or null if the value is the root.
value object The value to persist.
rootKey string The key to use for persistance.
리턴 void