internal SubPart(String subPart, RepositoryWrapper repo) { _repository = repo; _previous = _repository.PartOverride; _override = new Part(subPart, repo.Part); _repository.PartOverride = _override; }
internal SubPart(Part overridingPart, RepositoryWrapper repo) { _repository = repo; _previous = _repository.PartOverride; _override = overridingPart; _repository.PartOverride = _override; }
internal SubPart(Part overridingPart, RepositoryWrapper repo, TagBuilder wrappingTag, HtmlHelper helper) { _repository = repo; _previous = _repository.PartOverride; _override = overridingPart; _repository.PartOverride = _override; _wrappingTag = wrappingTag; _helper = helper; helper.ViewContext.Writer.WriteLine(wrappingTag.ToString(TagRenderMode.StartTag)); }
internal LocalizedHtmlContainer(RepositoryWrapper repository, String tagName, bool debugMode) { DebugMode = debugMode; Repository = repository; TagName = tagName; LocalizedAttributes = new Dictionary<String, KeyWithDefault>(); OtherAttributes = new Dictionary<string, string>(); Replacements = new Dictionary<String, String>(); }
public LocalizedJavascriptContainer(LocalizationHelper localization) { _localization = localization; _repository = localization.Repository; _qualifiedValuesWithReplacements = new List<Tuple<QualifiedValue, List<KeyValuePair<string, string>>>>(); }
internal LocalizedHtmlTag(RepositoryWrapper repository, String tagName, bool debugMode, ViewContext context) : base(repository, tagName, debugMode) { _context = context; IsDisplayed = true; }
public RepositoryWrapper(RepositoryWrapper repository, Part part, String abSegment = null) { PartOverride = part; ABSegment = abSegment; InnerRepository = repository.InnerRepository; }
internal LocalizedHtmlString(RepositoryWrapper repository, String tagName, bool debugMode) : base(repository, tagName, debugMode) { IsDisplayed = true; }
public RepositoryWrapper(RepositoryWrapper repository, Part part) { PartOverride = part; InnerRepository = repository.InnerRepository; }
public LocalizedJavascriptContainer(LocalizationHelper localization) { _localization = localization; _repository = localization.Repository; _qualifiedValuesWithReplacements = new List <Tuple <QualifiedValue, List <KeyValuePair <string, string> > > >(); }