internal InternalBamlLocalizabilityResolver( BamlLocalizer localizer, BamlLocalizabilityResolver externalResolver, TextReader comments ) { _localizer = localizer; _externalResolver = externalResolver; _commentingText = comments; }
//---------------------------------- // internal Constructor //---------------------------------- /// <summary> /// BamlTreeMap. /// </summary> internal BamlTreeMap( BamlLocalizer localizer, BamlTree tree, BamlLocalizabilityResolver resolver, TextReader comments ) { Debug.Assert(tree != null, "Baml Tree is empty"); Debug.Assert(localizer != null, "BamlLocalizer is null"); _tree = tree; // creates an internal resolver which willd delegate calls to client's resolver intelligently. _resolver = new InternalBamlLocalizabilityResolver(localizer, resolver, comments); // create a LocalizableResourceBuilder to build localizable resources _localizableResourceBuilder = new LocalizableResourceBuilder(_resolver); }
// Token: 0x06006E1B RID: 28187 RVA: 0x001FB13E File Offset: 0x001F933E internal BamlTreeMap(BamlLocalizer localizer, BamlTree tree, BamlLocalizabilityResolver resolver, TextReader comments) { this._tree = tree; this._resolver = new InternalBamlLocalizabilityResolver(localizer, resolver, comments); this._localizableResourceBuilder = new LocalizableResourceBuilder(this._resolver); }