Click or drag to resize

DependencyObjectTInterface Constructor (ExpressionFuncTInterface, Boolean, Boolean, IDictionaryString, Object)

Ctor

Namespace:  Crosser.Resolve.Model
Assembly:  Crosser.Resolver (in Crosser.Resolver.dll) Version: 0.0.9.1
Syntax
C#
public DependencyObject(
	Expression<Func<TInterface>> creator,
	bool rewritable = false,
	bool enabled = true,
	IDictionary<string, Object> properties = null
)

Parameters

creator
Type: System.Linq.ExpressionsExpressionFuncTInterface
The expression that will generate the type of TInterface
rewritable (Optional)
Type: SystemBoolean
True if this expression can be overwritten with a new expression, default is false
enabled (Optional)
Type: SystemBoolean
If false you cant get an instance of the dependency, default true
properties (Optional)
Type: System.Collections.GenericIDictionaryString, Object
key/value storage for properties attached to this dependency, default null
See Also