当前位置: 首页>>代码示例>>C#>>正文


C# XsdBuilder.ParseEnum方法代码示例

本文整理汇总了C#中System.Xml.Schema.XsdBuilder.ParseEnum方法的典型用法代码示例。如果您正苦于以下问题:C# XsdBuilder.ParseEnum方法的具体用法?C# XsdBuilder.ParseEnum怎么用?C# XsdBuilder.ParseEnum使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Xml.Schema.XsdBuilder的用法示例。


在下文中一共展示了XsdBuilder.ParseEnum方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BuildElement_Form

 private static void BuildElement_Form(XsdBuilder builder, string value) {
     builder.element.Form = (XmlSchemaForm)builder.ParseEnum(value, "form", FormStringValues);
 }
开发者ID:uQr,项目名称:referencesource,代码行数:3,代码来源:XsdBuilder.cs

示例2: BuildAny_ProcessContents

 private static void BuildAny_ProcessContents(XsdBuilder builder, string value) {
     builder.anyElement.ProcessContents = (XmlSchemaContentProcessing)builder.ParseEnum(value, "processContents", ProcessContentsStringValues);
 }
开发者ID:uQr,项目名称:referencesource,代码行数:3,代码来源:XsdBuilder.cs

示例3: BuildAttribute_Use

 private static void BuildAttribute_Use(XsdBuilder builder, string value) {
     builder.attribute.Use = (XmlSchemaUse)builder.ParseEnum(value, "use", UseStringValues);
 }
开发者ID:uQr,项目名称:referencesource,代码行数:3,代码来源:XsdBuilder.cs

示例4: BuildAttribute_Form

 private static void BuildAttribute_Form(XsdBuilder builder, string value) {
     builder.attribute.Form = (XmlSchemaForm)builder.ParseEnum(value, "form", FormStringValues);
 }
开发者ID:uQr,项目名称:referencesource,代码行数:3,代码来源:XsdBuilder.cs

示例5: BuildSchema_ElementFormDefault

 private static void BuildSchema_ElementFormDefault(XsdBuilder builder, string value) {
     builder.schema.ElementFormDefault = (XmlSchemaForm)builder.ParseEnum(value, "elementFormDefault", FormStringValues);
 }
开发者ID:uQr,项目名称:referencesource,代码行数:3,代码来源:XsdBuilder.cs

示例6: or

 /*
     <schema 
       attributeFormDefault = qualified | unqualified : unqualified
       blockDefault = #all or (possibly empty) subset of {substitution, extension, restriction} 
       elementFormDefault = qualified | unqualified : unqualified
       finalDefault = #all or (possibly empty) subset of {extension, restriction} 
       id = ID 
       targetNamespace = uriReference 
       version = string 
       {any attributes with non-schema namespace . . .}>
       Content: ((include | import | redefine | annotation)* , ((attribute | attributeGroup | complexType | element | group | notation | simpleType) , annotation*)*)
     </schema>
 */
 
 private static void BuildSchema_AttributeFormDefault(XsdBuilder builder, string value) {
     builder.schema.AttributeFormDefault = (XmlSchemaForm)builder.ParseEnum(value, "attributeFormDefault", FormStringValues);
 }
开发者ID:uQr,项目名称:referencesource,代码行数:17,代码来源:XsdBuilder.cs

示例7: BuildAnyAttribute_ProcessContents

 private static void BuildAnyAttribute_ProcessContents(XsdBuilder builder, string value)
 {
     builder._anyAttribute.ProcessContents = (XmlSchemaContentProcessing)builder.ParseEnum(value, "processContents", s_processContentsStringValues);
 }
开发者ID:dotnet,项目名称:corefx,代码行数:4,代码来源:XsdBuilder.cs


注:本文中的System.Xml.Schema.XsdBuilder.ParseEnum方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。