コード例 #1
0
ファイル: SubPart.cs プロジェクト: BackseatDevelopers/BLocal
 internal SubPart(String subPart, RepositoryWrapper repo)
 {
     _repository = repo;
     _previous = _repository.PartOverride;
     _override = new Part(subPart, repo.Part);
     _repository.PartOverride = _override;
 }
コード例 #2
0
ファイル: SubPart.cs プロジェクト: BackseatDevelopers/BLocal
 internal SubPart(Part overridingPart, RepositoryWrapper repo)
 {
     _repository = repo;
     _previous = _repository.PartOverride;
     _override = overridingPart;
     _repository.PartOverride = _override;
 }
コード例 #3
0
ファイル: SubPart.cs プロジェクト: BackseatDevelopers/BLocal
 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));
 }
コード例 #4
0
        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>();
        }
コード例 #5
0
 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;
 }
コード例 #7
0
 public RepositoryWrapper(RepositoryWrapper repository, Part part, String abSegment = null)
 {
     PartOverride = part;
     ABSegment = abSegment;
     InnerRepository = repository.InnerRepository;
 }
コード例 #8
0
 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;
 }
コード例 #13
0
 public LocalizedJavascriptContainer(LocalizationHelper localization)
 {
     _localization = localization;
     _repository   = localization.Repository;
     _qualifiedValuesWithReplacements = new List <Tuple <QualifiedValue, List <KeyValuePair <string, string> > > >();
 }