本文整理汇总了C#中System.Xml.Schema.XsdBuilder.ParseQName方法的典型用法代码示例。如果您正苦于以下问题:C# XsdBuilder.ParseQName方法的具体用法?C# XsdBuilder.ParseQName怎么用?C# XsdBuilder.ParseQName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Xml.Schema.XsdBuilder
的用法示例。
在下文中一共展示了XsdBuilder.ParseQName方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: BuildIdentityConstraint_Refer
private static void BuildIdentityConstraint_Refer(XsdBuilder builder, string value) {
if (builder.identityConstraint is XmlSchemaKeyref) {
((XmlSchemaKeyref)builder.identityConstraint).Refer = builder.ParseQName(value, "refer");
}
else {
builder.SendValidationEvent(Res.Sch_UnsupportedAttribute, "refer");
}
}
示例2: BuildSimpleContentRestriction_Base
private static void BuildSimpleContentRestriction_Base(XsdBuilder builder, string value) {
builder.simpleContentRestriction.BaseTypeName = builder.ParseQName(value, "base");
}
示例3: BuildGroupRef_Ref
private static void BuildGroupRef_Ref(XsdBuilder builder, string value) {
builder.groupRef.RefName = builder.ParseQName(value, "ref");
}
示例4: BuildSimpleTypeList_ItemType
private static void BuildSimpleTypeList_ItemType(XsdBuilder builder, string value) {
builder.simpleTypeList.ItemTypeName = builder.ParseQName(value, "itemType");
}
示例5: BuildComplexContentExtension_Base
private static void BuildComplexContentExtension_Base(XsdBuilder builder, string value) {
builder.complexContentExtension.BaseTypeName = builder.ParseQName(value, "base");
}
示例6: BuildElement_Type
private static void BuildElement_Type(XsdBuilder builder, string value) {
builder.element.SchemaTypeName = builder.ParseQName(value, "type");
}
示例7: BuildElement_Ref
private static void BuildElement_Ref(XsdBuilder builder, string value) {
builder.element.RefName = builder.ParseQName(value, "ref");
}
示例8: BuildElement_SubstitutionGroup
private static void BuildElement_SubstitutionGroup(XsdBuilder builder, string value) {
builder.element.SubstitutionGroup = builder.ParseQName(value, "substitutionGroup");
}
示例9: BuildAttribute_Type
private static void BuildAttribute_Type(XsdBuilder builder, string value) {
builder.attribute.SchemaTypeName = builder.ParseQName(value, "type");
}
示例10: BuildAttribute_Ref
private static void BuildAttribute_Ref(XsdBuilder builder, string value) {
builder.attribute.RefName = builder.ParseQName(value, "ref");
}