C# Class 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.
Inheritance: System.Windows.Markup.MarkupExtension
Afficher le fichier Open project: ME3Explorer/ME3Explorer

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

ProvideValue() public méthode

Provides an instance of TypeConverter based on this TypeConverterExtension.
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider /// An object that can provide services. ///
Résultat object

TypeConverterExtension() public méthode

Initializes a new instance of the TypeConverterExtension class.
public TypeConverterExtension ( ) : System
Résultat System

TypeConverterExtension() public méthode

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 . ///
Résultat System

TypeConverterExtension() public méthode

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 . ///
Résultat System