C# Class Sharpen.Html.Bindings.BindExpression

Implementation of an expression that binds to a value off the model and tracks changes by virtue of being an observer.
Inheritance: Expression, IObserver
ファイルを表示 Open project: nikhilk/sharpen

Public Methods

Method Description
BindExpression ( object model, object>.Func getter, object>.Action setter ) : System
InvalidateObserver ( ) : void
SetValue ( object value ) : void

Private Methods

Method Description
RetrieveValue ( bool notify ) : void

Method Details

BindExpression() public method

public BindExpression ( object model, object>.Func getter, object>.Action setter ) : System
model object
getter object>.Func
setter object>.Action
return System

InvalidateObserver() public method

public InvalidateObserver ( ) : void
return void

SetValue() public method

public SetValue ( object value ) : void
value object
return void