Ejemplo n.º 1
0
 internal GroupingInfo(ContentModelType cmType, Occurs occursInSchema)
 {
     this.contentModelType = cmType;
     this.occursInSchema   = occursInSchema;
     this.contentType      = ContentType.Grouping;
     if ((int)occursInSchema > (int)Occurs.ZeroOrOne)
     {
         groupingFlags |= GroupingFlags.Repeating;
     }
 }
Ejemplo n.º 2
0
 internal GroupingInfo(ContentModelType cmType, Occurs occursInSchema) {
     this.contentModelType = cmType;
     this.occursInSchema = occursInSchema;
     this.contentType = ContentType.Grouping;
     if ((int)occursInSchema > (int)Occurs.ZeroOrOne) {
         groupingFlags |= GroupingFlags.Repeating;
     }
 }