BamlLocalizer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- resolver
- BamlLocalizabilityResolver
An instance of BamlLocalizabilityResolver.
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.
- resolver
- BamlLocalizabilityResolver
An instance of BamlLocalizabilityResolver.
- comments
- TextReader
Reads the localized XML comments associated with this BAML input.
Exceptions
source
is null
.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기