Show / Hide Table of Contents

Class XmlSchemaUtil

This class holds helper methods for XML Schema reading and writing

Inheritance
object
XmlSchemaUtil
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public class XmlSchemaUtil

Constructors

XmlSchemaUtil()

This class holds helper methods for XML Schema reading and writing

Declaration
public XmlSchemaUtil()

Methods

ConvertToSchemaType(Type, string)

Returns the correct Schema type from the CLR type. To be used when writing Schemas without using a XMLWriter class

Declaration
public static string ConvertToSchemaType(Type type, string prefix)
Parameters
Type Name Description
Type type

The CLR type

string prefix

The prefix of the Schema type, for instance tns to make the result tns:string for a String type

Returns
Type Description
string

Name of the Schema type as string.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top