예제 #1
0
 internal SubPart(String subPart, RepositoryWrapper repo)
 {
     _repository = repo;
     _previous = _repository.PartOverride;
     _override = new Part(subPart, repo.Part);
     _repository.PartOverride = _override;
 }
예제 #2
0
 internal SubPart(Part overridingPart, RepositoryWrapper repo)
 {
     _repository = repo;
     _previous = _repository.PartOverride;
     _override = overridingPart;
     _repository.PartOverride = _override;
 }
예제 #3
0
 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>>>>();
 }
예제 #6
0
 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;
 }
예제 #9
0
 internal LocalizedHtmlTag(RepositoryWrapper repository, String tagName, bool debugMode, ViewContext context)
     : base(repository, tagName, debugMode)
 {
     _context    = context;
     IsDisplayed = true;
 }
예제 #10
0
 internal LocalizedHtmlString(RepositoryWrapper repository, String tagName, bool debugMode)
     : base(repository, tagName, debugMode)
 {
     IsDisplayed = true;
 }
예제 #11
0
 public RepositoryWrapper(RepositoryWrapper repository, Part part, String abSegment = null)
 {
     PartOverride    = part;
     ABSegment       = abSegment;
     InnerRepository = repository.InnerRepository;
 }
예제 #12
0
 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> > > >();
 }