Exemplo n.º 1
0
        public StubResourceGroup CreateGroup(string consolidatedUrl)
        {
            var group = new StubResourceGroup(consolidatedUrl);
            if(group.ResourceType == ResourceType.Script)
                _scriptGroups.Add(new StubResourceGroupTemplate(group));
            else
                _styleGroups.Add(new StubResourceGroupTemplate(group));

            return group;
        }
Exemplo n.º 2
0
        public StubResourceGroup CreateGroup(string consolidatedUrl)
        {
            var group = new StubResourceGroup(consolidatedUrl);

            if (group.ResourceType == ResourceType.Script)
            {
                _scriptGroups.Add(new StubResourceGroupTemplate(group));
            }
            else
            {
                _styleGroups.Add(new StubResourceGroupTemplate(group));
            }

            return(group);
        }
Exemplo n.º 3
0
        public StubResourceBuilder InGroup(StubResourceGroup group)
        {
            group.AddResource(_resource);

            return(this);
        }
Exemplo n.º 4
0
        public StubResourceBuilder InGroup(StubResourceGroup group)
        {
            group.AddResource(_resource);

            return this;
        }