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(Xml.Schema.Linq.ContentModelType cmType, Occurs occursInSchema)
 {
     this.contentModelType = cmType;
     this.occursInSchema   = occursInSchema;
     this.contentType      = Xml.Schema.Linq.CodeGen.ContentType.Grouping;
     if (occursInSchema > Occurs.ZeroOrOne)
     {
         this.groupingFlags |= GroupingFlags.Repeating;
     }
 }
Ejemplo n.º 3
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;
     }
 }