C# Class Pomona.Common.Serialization.Patch.Delta

Exibir arquivo Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
Apply ( ) : void
Reset ( ) : void
SetDirty ( ) : void

Protected Methods

Method Description
ClearDirty ( ) : void
CreateNestedDelta ( object propValue, TypeSpec propValueType, Type propertyType ) : object
Delta ( ) : System
Delta ( object original, TypeSpec type, ITypeResolver typeMapper, Delta parent = null ) : System
DetachFromParent ( object oldValue ) : void
ValueIsDirty ( object o ) : bool

Method Details

Apply() public abstract method

public abstract Apply ( ) : void
return void

ClearDirty() protected method

protected ClearDirty ( ) : void
return void

CreateNestedDelta() protected method

protected CreateNestedDelta ( object propValue, TypeSpec propValueType, Type propertyType ) : object
propValue object
propValueType TypeSpec
propertyType System.Type
return object

Delta() protected method

protected Delta ( ) : System
return System

Delta() protected method

protected Delta ( object original, TypeSpec type, ITypeResolver typeMapper, Delta parent = null ) : System
original object
type TypeSpec
typeMapper ITypeResolver
parent Delta
return System

DetachFromParent() protected static method

protected static DetachFromParent ( object oldValue ) : void
oldValue object
return void

Reset() public method

public Reset ( ) : void
return void

SetDirty() public method

public SetDirty ( ) : void
return void

ValueIsDirty() protected static method

protected static ValueIsDirty ( object o ) : bool
o object
return bool