Search Results for

    Show / Hide Table of Contents

    Class TypedParameterExtension

    Implements a markup extension that supports references to TypedParameters from XAML.

    Inheritance
    System.Object
    TypedParameterExtension
    Namespace: TimeCockpit.Data.DataModel
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class TypedParameterExtension : MarkupExtension

    Constructors

    TypedParameterExtension(String)

    Initializes a new instance of the TypedParameterExtension class.

    Declaration
    public TypedParameterExtension(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the ModelEntity to search.

    Properties

    Name

    Gets or sets the name of the searched ModelEntity.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    ProvideValue(IServiceProvider)

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

    Declaration
    public override object ProvideValue(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    System.IServiceProvider serviceProvider

    Object that can provide services for the markup extension.

    Returns
    Type Description
    System.Object

    The ModelEntity with the specified Name.

    In This Article
    Back to top Copyright © 2020 software architects gmbh