편집

다음을 통해 공유


BamlLocalizer Constructors

Definition

Initializes a new instance of the BamlLocalizer class.

Overloads

BamlLocalizer(Stream)

Initializes a new instance of the BamlLocalizer class with the specified BAML source stream.

BamlLocalizer(Stream, BamlLocalizabilityResolver)

Initializes a new instance of the BamlLocalizer class with the specified localizability resolver and BAML source stream.

BamlLocalizer(Stream, BamlLocalizabilityResolver, TextReader)

Initializes a new instance of the BamlLocalizer class with the specified localizability resolver, BAML source stream, and TextReader.

BamlLocalizer(Stream)

Initializes a new instance of the BamlLocalizer class with the specified BAML source stream.

public:
 BamlLocalizer(System::IO::Stream ^ source);
public BamlLocalizer (System.IO.Stream source);
new System.Windows.Markup.Localizer.BamlLocalizer : System.IO.Stream -> System.Windows.Markup.Localizer.BamlLocalizer
Public Sub New (source As Stream)

Parameters

source
Stream

A file stream that contains the BAML input to be localized.

Exceptions

source is null.

Applies to

BamlLocalizer(Stream, BamlLocalizabilityResolver)

Initializes a new instance of the BamlLocalizer class with the specified localizability resolver and BAML source stream.

public:
 BamlLocalizer(System::IO::Stream ^ source, System::Windows::Markup::Localizer::BamlLocalizabilityResolver ^ resolver);
public BamlLocalizer (System.IO.Stream source, System.Windows.Markup.Localizer.BamlLocalizabilityResolver resolver);
new System.Windows.Markup.Localizer.BamlLocalizer : System.IO.Stream * System.Windows.Markup.Localizer.BamlLocalizabilityResolver -> System.Windows.Markup.Localizer.BamlLocalizer
Public Sub New (source As Stream, resolver As BamlLocalizabilityResolver)

Parameters

source
Stream

A file stream that contains the BAML input to be localized.

Exceptions

source is null.

See also

Applies to

BamlLocalizer(Stream, BamlLocalizabilityResolver, TextReader)

Initializes a new instance of the BamlLocalizer class with the specified localizability resolver, BAML source stream, and TextReader.

public:
 BamlLocalizer(System::IO::Stream ^ source, System::Windows::Markup::Localizer::BamlLocalizabilityResolver ^ resolver, System::IO::TextReader ^ comments);
public BamlLocalizer (System.IO.Stream source, System.Windows.Markup.Localizer.BamlLocalizabilityResolver resolver, System.IO.TextReader comments);
new System.Windows.Markup.Localizer.BamlLocalizer : System.IO.Stream * System.Windows.Markup.Localizer.BamlLocalizabilityResolver * System.IO.TextReader -> System.Windows.Markup.Localizer.BamlLocalizer
Public Sub New (source As Stream, resolver As BamlLocalizabilityResolver, comments As TextReader)

Parameters

source
Stream

A file stream that contains the BAML input to be localized.

comments
TextReader

Reads the localized XML comments associated with this BAML input.

Exceptions

source is null.

See also

Applies to