C# Class System.ServiceModel.Description.ContractDescriptionGenerator

Mostra file Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
CreateMessageDescription ( System.ServiceModel.OperationContractAttribute oca, ParameterInfo plist, string name, string defaultNamespace, string action, bool isRequest, bool isCallback, Type retType, ICustomAttributeProvider retTypeAttributes ) : MessageDescription
CreateMessageDescription ( Type messageType, string defaultNamespace, string action, bool isRequest, bool isCallback, System.ServiceModel.MessageContractAttribute mca ) : MessageDescription
FillMessageBodyDescriptionByContract ( Type messageType, System.ServiceModel.Description.MessageBodyDescription mb ) : void
GetCallbackContract ( Type serviceType, Type callbackType ) : ContractDescription
GetContract ( Type contractType ) : ContractDescription
GetContract ( Type givenContractType, Type givenServiceType ) : ContractDescription
GetContract ( Type contractType, object serviceImplementation ) : ContractDescription
GetMessageContractAttribute ( Type type ) : System.ServiceModel.MessageContractAttribute
GetOperationContractAttribute ( MethodBase method ) : System.ServiceModel.OperationContractAttribute
GetServiceContractAttributes ( Type type ) : ServiceContractAttribute>.Dictionary
RegisterGetOperationContractAttributeExtender ( GetOperationContractAttributeExtender extender ) : void

Private Methods

Method Description
CreatePartCore ( System.ServiceModel.MessageBodyMemberAttribute mba, string defaultName, string defaultNamespace ) : System.ServiceModel.Description.MessagePartDescription
CreatePartCore ( System.ServiceModel.MessageParameterAttribute mpa, string defaultName, string defaultNamespace ) : System.ServiceModel.Description.MessagePartDescription
FillOperationsForInterface ( ContractDescription cd, Type exactContractType, Type givenServiceType, bool isCallback ) : void
GetAllInterfaceTypes ( Type type ) : IEnumerable
GetAllMethods ( Type type ) : System.Reflection.MethodInfo[]
GetContract ( Type givenContractType, Type givenServiceType, Type serviceTypeForCallback ) : ContractDescription
GetMessage ( OperationDescription od, MethodInfo mi, System.ServiceModel.OperationContractAttribute oca, bool isRequest, bool isCallback, Type asyncReturnType ) : MessageDescription
GetMessageBodyMemberAttribute ( MemberInfo mi ) : System.ServiceModel.MessageBodyMemberAttribute
GetMessageParameterAttribute ( ICustomAttributeProvider provider ) : System.ServiceModel.MessageParameterAttribute
GetOrCreateOperation ( ContractDescription cd, MethodInfo mi, MethodInfo serviceMethod, System.ServiceModel.OperationContractAttribute oca, Type asyncReturnType, bool isCallback ) : OperationDescription
GetServiceContractAttribute ( Type type, ServiceContractAttribute>.Dictionary table ) : void
MessageFilterOutByRef ( Type type ) : Type

Method Details

CreateMessageDescription() public static method

public static CreateMessageDescription ( System.ServiceModel.OperationContractAttribute oca, ParameterInfo plist, string name, string defaultNamespace, string action, bool isRequest, bool isCallback, Type retType, ICustomAttributeProvider retTypeAttributes ) : MessageDescription
oca System.ServiceModel.OperationContractAttribute
plist System.Reflection.ParameterInfo
name string
defaultNamespace string
action string
isRequest bool
isCallback bool
retType System.Type
retTypeAttributes ICustomAttributeProvider
return MessageDescription

CreateMessageDescription() public static method

public static CreateMessageDescription ( Type messageType, string defaultNamespace, string action, bool isRequest, bool isCallback, System.ServiceModel.MessageContractAttribute mca ) : MessageDescription
messageType System.Type
defaultNamespace string
action string
isRequest bool
isCallback bool
mca System.ServiceModel.MessageContractAttribute
return MessageDescription

FillMessageBodyDescriptionByContract() public static method

public static FillMessageBodyDescriptionByContract ( Type messageType, System.ServiceModel.Description.MessageBodyDescription mb ) : void
messageType System.Type
mb System.ServiceModel.Description.MessageBodyDescription
return void

GetCallbackContract() public static method

public static GetCallbackContract ( Type serviceType, Type callbackType ) : ContractDescription
serviceType System.Type
callbackType System.Type
return ContractDescription

GetContract() public static method

public static GetContract ( Type contractType ) : ContractDescription
contractType System.Type
return ContractDescription

GetContract() public static method

public static GetContract ( Type givenContractType, Type givenServiceType ) : ContractDescription
givenContractType System.Type
givenServiceType System.Type
return ContractDescription

GetContract() public static method

public static GetContract ( Type contractType, object serviceImplementation ) : ContractDescription
contractType System.Type
serviceImplementation object
return ContractDescription

GetMessageContractAttribute() public static method

public static GetMessageContractAttribute ( Type type ) : System.ServiceModel.MessageContractAttribute
type System.Type
return System.ServiceModel.MessageContractAttribute

GetOperationContractAttribute() public static method

public static GetOperationContractAttribute ( MethodBase method ) : System.ServiceModel.OperationContractAttribute
method System.Reflection.MethodBase
return System.ServiceModel.OperationContractAttribute

GetServiceContractAttributes() public static method

public static GetServiceContractAttributes ( Type type ) : ServiceContractAttribute>.Dictionary
type System.Type
return ServiceContractAttribute>.Dictionary

RegisterGetOperationContractAttributeExtender() public static method

public static RegisterGetOperationContractAttributeExtender ( GetOperationContractAttributeExtender extender ) : void
extender GetOperationContractAttributeExtender
return void