Beispiel #1
0
        public IMarkupStorageInitializer GetOrCreateControlScopeMarkupStorage(ControlScopeId controlScopeId)
        {
            IMarkupStorageInitializer controlMarkupStorage = TryGetControlScopeMarkupStorage(controlScopeId);

            if (controlMarkupStorage == null)
            {
                controlMarkupStorage = CreateControlScopeMarkupStorage(controlScopeId);
            }

            return(controlMarkupStorage);
        }
Beispiel #2
0
 public ControlMap(
     IMarkupStorageInitializer storage,
     IHtmlTagMapper tagMapper,
     string htmlTag,
     string id,
     string subpath = null)
 {
     _storage   = storage;
     _tagMapper = tagMapper;
     _htmlTag   = htmlTag;
     _id        = id;
     _subpath   = subpath;
 }
Beispiel #3
0
 public ScopeMappingPipe(IMarkupStorageInitializer markupStorage)
 {
     _markupStorage = markupStorage;
 }
 public HtmlTagMapper([NotNull] IMarkupStorageInitializer storage, [NotNull] string htmlTag)
 {
     _storage = storage;
     _htmlTag = htmlTag;
 }