Class ModelEntityTypeConditionExtension
Implements a markup extension that supports references to model entities in XAML.
Inheritance
System.Object
ModelEntityTypeConditionExtension
Namespace: TimeCockpit.Data.DataModel.Actions
Assembly: TimeCockpit.Data.dll
Syntax
public class ModelEntityTypeConditionExtension : MarkupExtension
Constructors
ModelEntityTypeConditionExtension(String)
Initializes a new instance of the ModelEntityTypeConditionExtension class
Declaration
public ModelEntityTypeConditionExtension(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the Model |
Properties
Name
Gets or sets the name of the searched Model
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
ProvideValue(IServiceProvider)
Returns an object that should be set on the property where this extension is applied.
For Model
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceProvider | Object that can provide services for the markup extension. |
Returns
Type | Description |
---|---|
System. |
The Model |