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
Datei anzeigen Open project: ME3Explorer/ME3Explorer

Private Properties

Property Type Description

Public Methods

Method 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 method

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

TypeConverterExtension() public method

Initializes a new instance of the TypeConverterExtension class.
public TypeConverterExtension ( ) : System
return System

TypeConverterExtension() public method

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 . ///
return System

TypeConverterExtension() public method

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 . ///
return System