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