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