C# Class Org.Openengsb.Loom.CSharp.Bridge.Implementation.HelpMethods

ファイルを表示 Open project: openengsb/loom-csharp Class Usage Examples

Public Methods

Method Description
AddTrueForSpecified ( List parameterResult, MethodInfo m ) : int

Add true objects for the Specified fields

AddTrueForSpecified ( IList args, MethodInfo m ) : void

Add true objects for the Specified fields

CreateClassWithPackageName ( String fieldname, Type type ) : String

Search in the interface for the Namespace (equal to the package structure in java)

FirstLetterToUpper ( String element ) : String

Makes the first character to a upper character

ImplementTypeDynamicly ( Type extendType, Type interfaceType ) : Type

Implemnents the OpenEngSBModel type to a sepcified type

IsTypeJavaException ( Type possibleExceptionType ) : System.Boolean
ReverseURL ( String url ) : String

Takes a Namespace as input, reverse the elements and returns the package structure from java

TypesAreEqual ( IList typeStrings, ParameterInfo parameterInfos ) : bool

Tests if the list of type names are equal to the types of the method parameter.

Private Methods

Method Description
BuildProperty ( TypeBuilder typeBuilder, Type typeToImplementProperties ) : void

Generate the set and get

SearchInXMLType ( String fieldname, Type type ) : String

Searches for the packagenames in the XMLType Attribute

SearchSoapAttributes ( MethodInfo method ) : String

Searches for Packagenames in the SOAP attributes

TypeIsEqual ( string remoteType, Type localType, ParameterInfo parameterInfos ) : bool

Test if two types are equal

Method Details

AddTrueForSpecified() public static method

Add true objects for the Specified fields
public static AddTrueForSpecified ( List parameterResult, MethodInfo m ) : int
parameterResult List
m System.Reflection.MethodInfo Methodinfo
return int

AddTrueForSpecified() public static method

Add true objects for the Specified fields
public static AddTrueForSpecified ( IList args, MethodInfo m ) : void
args IList List of parameters for a methodcall
m System.Reflection.MethodInfo Methodinfo
return void

CreateClassWithPackageName() public static method

Search in the interface for the Namespace (equal to the package structure in java)
public static CreateClassWithPackageName ( String fieldname, Type type ) : String
fieldname String Method name or Parameter name
type System.Type
return String

FirstLetterToUpper() public static method

Makes the first character to a upper character
public static FirstLetterToUpper ( String element ) : String
element String Element to edit
return String

ImplementTypeDynamicly() public static method

Implemnents the OpenEngSBModel type to a sepcified type
public static ImplementTypeDynamicly ( Type extendType, Type interfaceType ) : Type
extendType System.Type Type to extend
interfaceType System.Type
return System.Type

IsTypeJavaException() public static method

public static IsTypeJavaException ( Type possibleExceptionType ) : System.Boolean
possibleExceptionType System.Type
return System.Boolean

ReverseURL() public static method

Takes a Namespace as input, reverse the elements and returns the package structure from java
public static ReverseURL ( String url ) : String
url String Namespace URL
return String

TypesAreEqual() public static method

Tests if the list of type names are equal to the types of the method parameter.
public static TypesAreEqual ( IList typeStrings, ParameterInfo parameterInfos ) : bool
typeStrings IList
parameterInfos System.Reflection.ParameterInfo
return bool