Table of Contents

Class ModelEntityTypeConditionExtension

Namespace
TimeCockpit.Data.DataModel.Actions
Assembly
TimeCockpit.Data.dll

Implements a markup extension that supports references to model entities in XAML.

public class ModelEntityTypeConditionExtension : MarkupExtension
Inheritance
Object
ModelEntityTypeConditionExtension

Constructors

ModelEntityTypeConditionExtension(String)

Initializes a new instance of the ModelEntityTypeConditionExtension class

public ModelEntityTypeConditionExtension(string name)

Parameters

name String

The name of the ModelEntity to search for.

Properties

Name

Gets or sets the name of the searched ModelEntity.

public string Name { get; set; }

Property Value

String

Methods

ProvideValue(IServiceProvider)

Returns an object that should be set on the property where this extension is applied. For ModelEntityTypeConditionExtension this is the ModelEntity with the specified Name.

public override object ProvideValue(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

Object that can provide services for the markup extension.

Returns

Object

The ModelEntity with the specified Name.