상속: Block
예제 #1
0
파일: Block.cs 프로젝트: modulexcite/More
        private static MixinBlock CreateAnonMixin(IncludeSelectorValue val)
        {
            var rules = new List <Property>();

            rules.Add(new IncludeSelectorProperty(val.Selector, false, -1, -1, null));

            var uniquifier = Guid.NewGuid().ToString().Replace("-", "");
            var anonMixin  = new MixinBlock("AnonymousMixin" + uniquifier, new List <MixinParameter>(), rules, -1, -1, null);

            return(anonMixin);
        }
예제 #2
0
파일: Block.cs 프로젝트: repos-css/More
        private static MixinBlock CreateAnonMixin(IncludeSelectorValue val)
        {
            var rules = new List<Property>();
            rules.Add(new IncludeSelectorProperty(val.Selector, false, -1, -1, null));

            var uniquifier = Guid.NewGuid().ToString().Replace("-", "");
            var anonMixin = new MixinBlock("AnonymousMixin" + uniquifier, new List<MixinParameter>(), rules, -1, -1, null);

            return anonMixin;
        }