C# Класс MassEffect.Windows.Markup.TypeConverterExtension

Implements a markup extension that allows instances of TypeConverter to be easily created.
This markup extension allows instance of TypeConverter to be easily created inline in a XAML binding. See the example below.
Наследование: System.Windows.Markup.MarkupExtension
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ProvideValue ( IServiceProvider serviceProvider ) : object

Provides an instance of TypeConverter based on this TypeConverterExtension.

TypeConverterExtension ( ) : System

Initializes a new instance of the TypeConverterExtension class.

TypeConverterExtension ( Type sourceType, Type targetType ) : System

Initializes a new instance of the TypeConverterExtension class with the specified source and target types.

TypeConverterExtension ( string sourceTypeName, string targetTypeName ) : System

Initializes a new instance of the TypeConverterExtension class with the specified source and target types.

Описание методов

ProvideValue() публичный Метод

Provides an instance of TypeConverter based on this TypeConverterExtension.
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider /// An object that can provide services. ///
Результат object

TypeConverterExtension() публичный Метод

Initializes a new instance of the TypeConverterExtension class.
public TypeConverterExtension ( ) : System
Результат System

TypeConverterExtension() публичный Метод

Initializes a new instance of the TypeConverterExtension class with the specified source and target types.
public TypeConverterExtension ( Type sourceType, Type targetType ) : System
sourceType System.Type /// The source type for the . ///
targetType System.Type /// The target type for the . ///
Результат System

TypeConverterExtension() публичный Метод

Initializes a new instance of the TypeConverterExtension class with the specified source and target types.
public TypeConverterExtension ( string sourceTypeName, string targetTypeName ) : System
sourceTypeName string /// The source type name for the . ///
targetTypeName string /// The target type name for the . ///
Результат System