C# Class ServiceStack.Host.XsdMetadata

Datei anzeigen Open project: ServiceStack/ServiceStack Class Usage Examples

Public Methods

Method Description
GetBaseTypeWithTheSameName ( Type type ) : 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.

GetOneWayOperationNames ( Format format, HashSet soapTypes ) : List
GetReplyOperationNames ( Format format, HashSet soapTypes ) : List
XsdMetadata ( ServiceMetadata metadata, bool flash = false ) : System

Method Details

GetBaseTypeWithTheSameName() public static method

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.
public static GetBaseTypeWithTheSameName ( Type type ) : Type
type System.Type The type.
return System.Type

GetOneWayOperationNames() public method

public GetOneWayOperationNames ( Format format, HashSet soapTypes ) : List
format Format
soapTypes HashSet
return List

GetReplyOperationNames() public method

public GetReplyOperationNames ( Format format, HashSet soapTypes ) : List
format Format
soapTypes HashSet
return List

XsdMetadata() public method

public XsdMetadata ( ServiceMetadata metadata, bool flash = false ) : System
metadata ServiceMetadata
flash bool
return System