Skip to main content

XsdMetadata

Assembly: ServiceStack.dll​
View Source​
Declaration
public class XsdMetadata

Properties​

Metadata​

View Source​
Declaration
public ServiceMetadata Metadata { get; set; }

Flash​

View Source​
Declaration
public bool Flash { get; set; }

Methods​

GetReplyOperationNames(Format, HashSet<Type>)​

View Source​
Declaration
public List<string> GetReplyOperationNames(Format format, HashSet<Type> soapTypes)
Returns​

System.Collections.Generic.List<System.String>

Parameters​
TypeName
ServiceStack.Formatformat
System.Collections.Generic.HashSet<System.Type>soapTypes

GetOneWayOperationNames(Format, HashSet<Type>)​

View Source​
Declaration
public List<string> GetOneWayOperationNames(Format format, HashSet<Type> soapTypes)
Returns​

System.Collections.Generic.List<System.String>

Parameters​
TypeName
ServiceStack.Formatformat
System.Collections.Generic.HashSet<System.Type>soapTypes

GetBaseTypeWithTheSameName(Type)​

Gets the name of the base most type in the heirachy tree with the same.

We get an exception when trying to create a schema with multiple types of the same name like when inheriting from a DataContract with the same name.

View Source​
Declaration
public static Type GetBaseTypeWithTheSameName(Type type)
Returns​

System.Type

Parameters​
TypeNameDescription
System.TypetypeThe type.

|