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); }
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; }