private static ICollection NewCollection(IElementContainer parent, IPatternElementInfo info, string name) { return(parent.CreateCollection(e => { e.DefinitionId = info.Id; e.InstanceName = name; })); }
private static ICollection NewCollection(IElementContainer parent, IPatternElementInfo info, string name) { return(parent.CreateCollection(e => { e.DefinitionId = info.Id; e.InstanceName = name; })); }