C# 클래스 Westwind.WebConnection.wwDotNetBridge

파일 보기 프로젝트 열기: RickStrahl/wwDotnetBridge 1 사용 예제들

공개 메소드들

메소드 설명
AddArrayItem ( object baseObject, string arrayObject, object item ) : bool

Used to add an item to an array by indirection to work around VFP's inability to easily add array elements.

ConvertObjectToByteArray ( object val ) : byte[]

Converts an object to a byte array

CreateArray ( string arrayTypeString ) : Westwind.WebConnection.ComArray

Creates an instance of an array

CreateArrayFromInstance ( object instance ) : Westwind.WebConnection.ComArray

Creates an array from a specific instance of a COM object

CreateArrayOnInstance ( object baseType, string arrayProperty, int size ) : bool

Creates an array instance of a given type and size. Note the elements of this array are null/default and need to be set explicitly

CreateArrayOnInstanceWithObject ( object baseType, string arrayProperty, object item ) : bool

Creates a new array instance on a type of exactly 1 array item which is assigned the item parameter passed in.

CreateAssemblyInstance ( string AssemblyFileName, string TypeName ) : object

Creates a new instance from a file file based assembly refence. Requires full filename including extension and path.

CreateAssemblyInstanceFromFile ( string AssemblyFileName, string TypeName ) : object

Creates an instance from a file reference with a parameterless constructor

CreateAssemblyInstanceFromFile_OneParm ( string AssemblyFileName, string TypeName, object Parm1 ) : object

Creates an instance from a file reference with a 1 parameter constructor

CreateAssemblyInstanceFromFile_TwoParms ( string AssemblyFileName, string TypeName, object Parm1, object Parm2 ) : object

Creates an instance from a file reference with a two parameter constructor

CreateAssemblyInstance_OneParm ( string AssemblyFileName, string TypeName, object Parm1 ) : object

Creates a new instance from a file file based assembly refence. Requires full filename including extension and path.

CreateAssemblyInstance_TwoParms ( string AssemblyFileName, string TypeName, object Parm1, object Parm2 ) : object

Creates a new instance from a file file based assembly refence. Requires full filename including extension and path.

CreateInstance ( string TypeName ) : object

Creates a type reference from a given type name if the assembly is already loaded.

CreateInstanceOnType ( object instance, string property, string TypeName ) : bool

Creates an instance of a .NET type and stores it on an existing property of another type. Use this method if you can't access a type through COM ([ComVisible(false)]

CreateInstanceOnType_FiveParms ( object instance, string property, string TypeName, object parm1, object parm2, object parm3, object parm4, object parm5 ) : bool
CreateInstanceOnType_FourParms ( object instance, string property, string TypeName, object parm1, object parm2, object parm3, object parm4 ) : bool
CreateInstanceOnType_OneParm ( object instance, string property, string TypeName, object parm1 ) : bool
CreateInstanceOnType_ThreeParms ( object instance, string property, string TypeName, object parm1, object parm2, object parm3 ) : bool
CreateInstanceOnType_TwoParms ( object instance, string property, string TypeName, object parm1, object parm2 ) : bool
CreateInstance_FiveParms ( string TypeName, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ) : object
CreateInstance_FourParms ( string TypeName, object Parm1, object Parm2, object Parm3, object Parm4 ) : object
CreateInstance_OneParm ( string TypeName, object Parm1 ) : object

Creates a type reference from a given type name if the assembly is already loaded.

CreateInstance_ThreeParms ( string TypeName, object Parm1, object Parm2, object Parm3 ) : object

Creates a type reference from a given type name if the assembly is already loaded.

CreateInstance_TwoParms ( string TypeName, object Parm1, object Parm2 ) : object

Creates a type reference from a given type name if the assembly is already loaded.

DataSetToXmlString ( DataSet ds, bool includeSchema ) : string

Returns an XML string from a .NET DataSet

FixupParameter ( object val ) : object
FixupReturnValue ( object val ) : object

Fixes up a return value to return to FoxPro based on its type. Fixes up some values to be type safe for FoxPro and others are returned as wrappers (ComArray, ComGuid)

FromJson ( string json, Type type ) : object

Deserializes a JSON object

FromXml ( string xml, Type type ) : object

Deserializes an object from an XML string that was generated in format the same as generated from ToXml()

GetArrayItem ( object baseObject, string arrayName, int index ) : object

Returns an individual Array Item by its index

GetEnumString ( string EnumTypeName, object Value ) : string

Returns the name of an enum field given an enum value passed. Pass in the name of the enum type

GetIndexedProperty ( object baseList, int index ) : object

Returns an indexed property Value

GetProperty ( object Instance, string Property ) : object
GetPropertyEx ( object Instance, string Property ) : object

Returns a property value by allowing . syntax to drill into nested objects. Use this method to step over objects that FoxPro can't directly access (like structs, generics etc.)

GetStaticProperty ( string TypeName, string Property ) : object

Retrieves a value from a static property by specifying a type full name and property

GetType ( object value ) : Type
GetTypeFromName ( string typeName ) : Type

Helper routine that looks up a type name and tries to retrieve the full type reference in the actively executing assemblies.

GetVersionInfo ( ) : string
InvokeMethod ( object Instance, string Method ) : object

Invokes a method with no parameters

InvokeMethodAsync ( object callBack, object instance, string method ) : void

Invokes a method on a new thread and fires OnCompleted and OnError events on a passed in callback object.

InvokeMethodWithParameterArray ( object instance, string method, object parms ) : object

Invokes a method with an explicit array of parameters Allows for any number of parameters to be passed.

InvokeMethod_EightParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8 ) : object
InvokeMethod_ElevenParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10, object Parm11 ) : object
InvokeMethod_FiveParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ) : object
InvokeMethod_FourParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4 ) : object
InvokeMethod_NineParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9 ) : object
InvokeMethod_OneParm ( object Instance, string Method, object Parm1 ) : object

Invokes a method with one parameter

InvokeMethod_ParameterArray ( object Instance, string Method, object ParameterArray ) : object
InvokeMethod_SevenParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7 ) : object
InvokeMethod_SixParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6 ) : object
InvokeMethod_TenParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10 ) : object
InvokeMethod_ThreeParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3 ) : object
InvokeMethod_TwelveParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10, object Parm11, object Parm12 ) : object
InvokeMethod_TwoParms ( object Instance, string Method, object Parm1, object Parm2 ) : object

Invokes a method with two parameters

InvokeStaticMethod ( string TypeName, string Method ) : object
InvokeStaticMethodAsync ( object callBack, string typeName, string method ) : void

Invokes a method on a new thread and fires OnCompleted and OnError events on a passed in callback object.

InvokeStaticMethod_EightParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8 ) : object
InvokeStaticMethod_FiveParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ) : object
InvokeStaticMethod_FourParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4 ) : object
InvokeStaticMethod_NineParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9 ) : object
InvokeStaticMethod_OneParm ( string TypeName, string Method, object Parm1 ) : object
InvokeStaticMethod_SevenParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7 ) : object
InvokeStaticMethod_SixParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6 ) : object
InvokeStaticMethod_TenParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10 ) : object
InvokeStaticMethod_ThreeParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3 ) : object
InvokeStaticMethod_TwoParms ( string TypeName, string Method, object Parm1, object Parm2 ) : object
LoadAssembly ( string AssemblyName ) : bool

Loads an assembly into the AppDomain by its fully qualified assembly name

LoadAssemblyFrom ( string AssemblyFileName ) : bool

Loads an assembly into the AppDomain by a fully qualified assembly path

RemoveArrayItem ( object baseObject, string arrayObject, int Index ) : bool

Removes an item from a .NET array with indirection to work around VFP's inability to manipulate .NET array elements.

SetArrayItem ( object baseObject, string arrayName, int index, object value ) : bool

Sets an array element to a given value. Assumes the array is big enough and the array item exists.

SetProperty ( object Instance, string Property, object Value ) : void

Sets a property of a .NET object with a value

SetPropertyEx ( object Instance, string Property, object Value ) : void

Sets a property of a .NET object with a value using extended syntax. This method supports '.' syntax so you can use "Property.ChildProperty" to walk the object hierarchy in the string property parameter. This method also supports accessing of Array/Collection indexers (Item[1])

SetStaticProperty ( string typeName, string property, object value ) : bool
ToJson ( object value, bool formatted ) : string

Returns a JSON string from a .NET object. Note: doesn't work with FoxPro COM objects - only Interop .NET objects

ToXml ( object value ) : string

Returns an XML object from a .NET object. Note doesn't work with FoxPro COM object - only Interop .NET objects

XmlStringToDataSet ( string xml ) : DataSet

Converts an Xml String created from a FoxPro Xml Adapter or CursorToXml into a DataSet if possible.

wwDotNetBridge ( ) : Newtonsoft.Json

보호된 메소드들

메소드 설명
CreateInstanceFromFile_Internal ( string AssemblyFileName, string TypeName ) : object

Routine that loads a class from an assembly file name specified.

CreateInstanceOnType_Internal ( object instance, string property, string TypeName ) : bool
CreateInstance_Internal ( string TypeName ) : object

Creates an instance of a class based on its type name. Assumes that the type's assembly is already loaded. Note this will be a little slower than the versions that work with assembly name specified because this code has to search for the type first rather than directly activating it.

CreateInstance_Internal ( string AssemblyName, string TypeName ) : object

Routine that loads an assembly by its 'application assembly name' - unsigned assemblies must be visible via the .NET path (current path or BIN dir) and GAC assemblies must be referenced by their full assembly name.

FixupAssemblyName ( string AssemblyName ) : string

Helper routine that automatically assigns default names to certain 'common' system assemblies so that we don't have to provide a full path NOTE: All names are for .NET 2.0 Runtime at the moment

InvokeMethod_InternalWithObjectArray ( object Instance, string Method, object args ) : object
SetError ( ) : void
SetError ( Exception ex ) : void
SetError ( Exception ex, bool checkInner ) : void
SetError ( string message ) : void

비공개 메소드들

메소드 설명
CreateArrayInstanceInternal ( object baseType, string arrayProperty, int size ) : Array

Creates an instance of an array on a given base object instance by name. Array is created with 'empty' elements - ie. objects are null and value types are set to their default() values.

InvokeMethod_Internal ( object instance, string method ) : object
InvokeStaticMethod_Internal ( string TypeName, string Method ) : object

Invokes a static method

_InvokeMethodAsync ( object parmList ) : void

Internal handler method that actually makes the async call on a thread

메소드 상세

AddArrayItem() 공개 메소드

Used to add an item to an array by indirection to work around VFP's inability to easily add array elements.
public AddArrayItem ( object baseObject, string arrayObject, object item ) : bool
baseObject object The object that has the Array property
arrayObject string The array property name as a string
item object The item to set it to. Should not be null.
리턴 bool

ConvertObjectToByteArray() 공개 정적인 메소드

Converts an object to a byte array
public static ConvertObjectToByteArray ( object val ) : byte[]
val object
리턴 byte[]

CreateArray() 공개 메소드

Creates an instance of an array
public CreateArray ( string arrayTypeString ) : Westwind.WebConnection.ComArray
arrayTypeString string
리턴 Westwind.WebConnection.ComArray

CreateArrayFromInstance() 공개 메소드

Creates an array from a specific instance of a COM object
public CreateArrayFromInstance ( object instance ) : Westwind.WebConnection.ComArray
instance object
리턴 Westwind.WebConnection.ComArray

CreateArrayOnInstance() 공개 메소드

Creates an array instance of a given type and size. Note the elements of this array are null/default and need to be set explicitly
public CreateArrayOnInstance ( object baseType, string arrayProperty, int size ) : bool
baseType object Object instance on which to create the array
arrayProperty string String property/field name of the array to create
size int Size of the array to createArray
리턴 bool

CreateArrayOnInstanceWithObject() 공개 메소드

Creates a new array instance on a type of exactly 1 array item which is assigned the item parameter passed in.
public CreateArrayOnInstanceWithObject ( object baseType, string arrayProperty, object item ) : bool
baseType object
arrayProperty string
item object
리턴 bool

CreateAssemblyInstance() 공개 메소드

Creates a new instance from a file file based assembly refence. Requires full filename including extension and path.
public CreateAssemblyInstance ( string AssemblyFileName, string TypeName ) : object
AssemblyFileName string
TypeName string
리턴 object

CreateAssemblyInstanceFromFile() 공개 메소드

Creates an instance from a file reference with a parameterless constructor
public CreateAssemblyInstanceFromFile ( string AssemblyFileName, string TypeName ) : object
AssemblyFileName string
TypeName string
리턴 object

CreateAssemblyInstanceFromFile_OneParm() 공개 메소드

Creates an instance from a file reference with a 1 parameter constructor
public CreateAssemblyInstanceFromFile_OneParm ( string AssemblyFileName, string TypeName, object Parm1 ) : object
AssemblyFileName string
TypeName string
Parm1 object
리턴 object

CreateAssemblyInstanceFromFile_TwoParms() 공개 메소드

Creates an instance from a file reference with a two parameter constructor
public CreateAssemblyInstanceFromFile_TwoParms ( string AssemblyFileName, string TypeName, object Parm1, object Parm2 ) : object
AssemblyFileName string
TypeName string
Parm1 object
Parm2 object
리턴 object

CreateAssemblyInstance_OneParm() 공개 메소드

Creates a new instance from a file file based assembly refence. Requires full filename including extension and path.
public CreateAssemblyInstance_OneParm ( string AssemblyFileName, string TypeName, object Parm1 ) : object
AssemblyFileName string
TypeName string
Parm1 object
리턴 object

CreateAssemblyInstance_TwoParms() 공개 메소드

Creates a new instance from a file file based assembly refence. Requires full filename including extension and path.
public CreateAssemblyInstance_TwoParms ( string AssemblyFileName, string TypeName, object Parm1, object Parm2 ) : object
AssemblyFileName string
TypeName string
Parm1 object
Parm2 object
리턴 object

CreateInstance() 공개 메소드

Creates a type reference from a given type name if the assembly is already loaded.
public CreateInstance ( string TypeName ) : object
TypeName string
리턴 object

CreateInstanceFromFile_Internal() 보호된 메소드

Routine that loads a class from an assembly file name specified.
protected CreateInstanceFromFile_Internal ( string AssemblyFileName, string TypeName ) : object
AssemblyFileName string
TypeName string
리턴 object

CreateInstanceOnType() 공개 메소드

Creates an instance of a .NET type and stores it on an existing property of another type. Use this method if you can't access a type through COM ([ComVisible(false)]
public CreateInstanceOnType ( object instance, string property, string TypeName ) : bool
instance object
property string
TypeName string
리턴 bool

CreateInstanceOnType_FiveParms() 공개 메소드

public CreateInstanceOnType_FiveParms ( object instance, string property, string TypeName, object parm1, object parm2, object parm3, object parm4, object parm5 ) : bool
instance object
property string
TypeName string
parm1 object
parm2 object
parm3 object
parm4 object
parm5 object
리턴 bool

CreateInstanceOnType_FourParms() 공개 메소드

public CreateInstanceOnType_FourParms ( object instance, string property, string TypeName, object parm1, object parm2, object parm3, object parm4 ) : bool
instance object
property string
TypeName string
parm1 object
parm2 object
parm3 object
parm4 object
리턴 bool

CreateInstanceOnType_Internal() 보호된 메소드

protected CreateInstanceOnType_Internal ( object instance, string property, string TypeName ) : bool
instance object
property string
TypeName string
리턴 bool

CreateInstanceOnType_OneParm() 공개 메소드

public CreateInstanceOnType_OneParm ( object instance, string property, string TypeName, object parm1 ) : bool
instance object
property string
TypeName string
parm1 object
리턴 bool

CreateInstanceOnType_ThreeParms() 공개 메소드

public CreateInstanceOnType_ThreeParms ( object instance, string property, string TypeName, object parm1, object parm2, object parm3 ) : bool
instance object
property string
TypeName string
parm1 object
parm2 object
parm3 object
리턴 bool

CreateInstanceOnType_TwoParms() 공개 메소드

public CreateInstanceOnType_TwoParms ( object instance, string property, string TypeName, object parm1, object parm2 ) : bool
instance object
property string
TypeName string
parm1 object
parm2 object
리턴 bool

CreateInstance_FiveParms() 공개 메소드

public CreateInstance_FiveParms ( string TypeName, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ) : object
TypeName string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
리턴 object

CreateInstance_FourParms() 공개 메소드

public CreateInstance_FourParms ( string TypeName, object Parm1, object Parm2, object Parm3, object Parm4 ) : object
TypeName string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
리턴 object

CreateInstance_Internal() 보호된 메소드

Creates an instance of a class based on its type name. Assumes that the type's assembly is already loaded. Note this will be a little slower than the versions that work with assembly name specified because this code has to search for the type first rather than directly activating it.
protected CreateInstance_Internal ( string TypeName ) : object
TypeName string
리턴 object

CreateInstance_Internal() 보호된 메소드

Routine that loads an assembly by its 'application assembly name' - unsigned assemblies must be visible via the .NET path (current path or BIN dir) and GAC assemblies must be referenced by their full assembly name.
protected CreateInstance_Internal ( string AssemblyName, string TypeName ) : object
AssemblyName string
TypeName string
리턴 object

CreateInstance_OneParm() 공개 메소드

Creates a type reference from a given type name if the assembly is already loaded.
public CreateInstance_OneParm ( string TypeName, object Parm1 ) : object
TypeName string
Parm1 object
리턴 object

CreateInstance_ThreeParms() 공개 메소드

Creates a type reference from a given type name if the assembly is already loaded.
public CreateInstance_ThreeParms ( string TypeName, object Parm1, object Parm2, object Parm3 ) : object
TypeName string
Parm1 object
Parm2 object
Parm3 object
리턴 object

CreateInstance_TwoParms() 공개 메소드

Creates a type reference from a given type name if the assembly is already loaded.
public CreateInstance_TwoParms ( string TypeName, object Parm1, object Parm2 ) : object
TypeName string
Parm1 object
Parm2 object
리턴 object

DataSetToXmlString() 공개 메소드

Returns an XML string from a .NET DataSet
public DataSetToXmlString ( DataSet ds, bool includeSchema ) : string
ds System.Data.DataSet
includeSchema bool
리턴 string

FixupAssemblyName() 보호된 메소드

Helper routine that automatically assigns default names to certain 'common' system assemblies so that we don't have to provide a full path NOTE: All names are for .NET 2.0 Runtime at the moment
protected FixupAssemblyName ( string AssemblyName ) : string
AssemblyName string
리턴 string

FixupParameter() 공개 정적인 메소드

public static FixupParameter ( object val ) : object
val object
리턴 object

FixupReturnValue() 공개 정적인 메소드

Fixes up a return value to return to FoxPro based on its type. Fixes up some values to be type safe for FoxPro and others are returned as wrappers (ComArray, ComGuid)
public static FixupReturnValue ( object val ) : object
val object
리턴 object

FromJson() 공개 메소드

Deserializes a JSON object
public FromJson ( string json, Type type ) : object
json string
type System.Type
리턴 object

FromXml() 공개 메소드

Deserializes an object from an XML string that was generated in format the same as generated from ToXml()
public FromXml ( string xml, Type type ) : object
xml string
type System.Type
리턴 object

GetArrayItem() 공개 메소드

Returns an individual Array Item by its index
public GetArrayItem ( object baseObject, string arrayName, int index ) : object
baseObject object
arrayName string
index int
리턴 object

GetEnumString() 공개 메소드

Returns the name of an enum field given an enum value passed. Pass in the name of the enum type
public GetEnumString ( string EnumTypeName, object Value ) : string
EnumTypeName string
Value object
리턴 string

GetIndexedProperty() 공개 메소드

Returns an indexed property Value
public GetIndexedProperty ( object baseList, int index ) : object
baseList object
index int
리턴 object

GetProperty() 공개 메소드

public GetProperty ( object Instance, string Property ) : object
Instance object
Property string
리턴 object

GetPropertyEx() 공개 메소드

Returns a property value by allowing . syntax to drill into nested objects. Use this method to step over objects that FoxPro can't directly access (like structs, generics etc.)
public GetPropertyEx ( object Instance, string Property ) : object
Instance object
Property string
리턴 object

GetStaticProperty() 공개 메소드

Retrieves a value from a static property by specifying a type full name and property
public GetStaticProperty ( string TypeName, string Property ) : object
TypeName string Full type name (namespace.class)
Property string Property to get value from
리턴 object

GetType() 공개 메소드

public GetType ( object value ) : Type
value object
리턴 System.Type

GetTypeFromName() 공개 메소드

Helper routine that looks up a type name and tries to retrieve the full type reference in the actively executing assemblies.
public GetTypeFromName ( string typeName ) : Type
typeName string
리턴 System.Type

GetVersionInfo() 공개 메소드

public GetVersionInfo ( ) : string
리턴 string

InvokeMethod() 공개 메소드

Invokes a method with no parameters
public InvokeMethod ( object Instance, string Method ) : object
Instance object
Method string
리턴 object

InvokeMethodAsync() 공개 메소드

Invokes a method on a new thread and fires OnCompleted and OnError events on a passed in callback object.
public InvokeMethodAsync ( object callBack, object instance, string method ) : void
callBack object /// A callback object that has to have two methods: /// OnCompleted(lvResult, lcMethod) /// OnError(lcErrorMsg,loException, lcMethod) ///
instance object
method string
리턴 void

InvokeMethodWithParameterArray() 공개 메소드

Invokes a method with an explicit array of parameters Allows for any number of parameters to be passed.
public InvokeMethodWithParameterArray ( object instance, string method, object parms ) : object
instance object
method string
parms object
리턴 object

InvokeMethod_EightParms() 공개 메소드

public InvokeMethod_EightParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
리턴 object

InvokeMethod_ElevenParms() 공개 메소드

public InvokeMethod_ElevenParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10, object Parm11 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
Parm9 object
Parm10 object
Parm11 object
리턴 object

InvokeMethod_FiveParms() 공개 메소드

public InvokeMethod_FiveParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
리턴 object

InvokeMethod_FourParms() 공개 메소드

public InvokeMethod_FourParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
리턴 object

InvokeMethod_InternalWithObjectArray() 보호된 메소드

protected InvokeMethod_InternalWithObjectArray ( object Instance, string Method, object args ) : object
Instance object
Method string
args object
리턴 object

InvokeMethod_NineParms() 공개 메소드

public InvokeMethod_NineParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
Parm9 object
리턴 object

InvokeMethod_OneParm() 공개 메소드

Invokes a method with one parameter
public InvokeMethod_OneParm ( object Instance, string Method, object Parm1 ) : object
Instance object
Method string
Parm1 object
리턴 object

InvokeMethod_ParameterArray() 공개 메소드

public InvokeMethod_ParameterArray ( object Instance, string Method, object ParameterArray ) : object
Instance object
Method string
ParameterArray object
리턴 object

InvokeMethod_SevenParms() 공개 메소드

public InvokeMethod_SevenParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
리턴 object

InvokeMethod_SixParms() 공개 메소드

public InvokeMethod_SixParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
리턴 object

InvokeMethod_TenParms() 공개 메소드

public InvokeMethod_TenParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
Parm9 object
Parm10 object
리턴 object

InvokeMethod_ThreeParms() 공개 메소드

public InvokeMethod_ThreeParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
리턴 object

InvokeMethod_TwelveParms() 공개 메소드

public InvokeMethod_TwelveParms ( object Instance, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10, object Parm11, object Parm12 ) : object
Instance object
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
Parm9 object
Parm10 object
Parm11 object
Parm12 object
리턴 object

InvokeMethod_TwoParms() 공개 메소드

Invokes a method with two parameters
public InvokeMethod_TwoParms ( object Instance, string Method, object Parm1, object Parm2 ) : object
Instance object
Method string
Parm1 object
Parm2 object
리턴 object

InvokeStaticMethod() 공개 메소드

public InvokeStaticMethod ( string TypeName, string Method ) : object
TypeName string
Method string
리턴 object

InvokeStaticMethodAsync() 공개 메소드

Invokes a method on a new thread and fires OnCompleted and OnError events on a passed in callback object.
public InvokeStaticMethodAsync ( object callBack, string typeName, string method ) : void
callBack object /// A callback object that has to have two methods: /// OnCompleted(lvResult, lcMethod) /// OnError(lcErrorMsg,loException, lcMethod) ///
typeName string
method string
리턴 void

InvokeStaticMethod_EightParms() 공개 메소드

public InvokeStaticMethod_EightParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
리턴 object

InvokeStaticMethod_FiveParms() 공개 메소드

public InvokeStaticMethod_FiveParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
리턴 object

InvokeStaticMethod_FourParms() 공개 메소드

public InvokeStaticMethod_FourParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
리턴 object

InvokeStaticMethod_NineParms() 공개 메소드

public InvokeStaticMethod_NineParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
Parm9 object
리턴 object

InvokeStaticMethod_OneParm() 공개 메소드

public InvokeStaticMethod_OneParm ( string TypeName, string Method, object Parm1 ) : object
TypeName string
Method string
Parm1 object
리턴 object

InvokeStaticMethod_SevenParms() 공개 메소드

public InvokeStaticMethod_SevenParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
리턴 object

InvokeStaticMethod_SixParms() 공개 메소드

public InvokeStaticMethod_SixParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
리턴 object

InvokeStaticMethod_TenParms() 공개 메소드

public InvokeStaticMethod_TenParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
Parm4 object
Parm5 object
Parm6 object
Parm7 object
Parm8 object
Parm9 object
Parm10 object
리턴 object

InvokeStaticMethod_ThreeParms() 공개 메소드

public InvokeStaticMethod_ThreeParms ( string TypeName, string Method, object Parm1, object Parm2, object Parm3 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
Parm3 object
리턴 object

InvokeStaticMethod_TwoParms() 공개 메소드

public InvokeStaticMethod_TwoParms ( string TypeName, string Method, object Parm1, object Parm2 ) : object
TypeName string
Method string
Parm1 object
Parm2 object
리턴 object

LoadAssembly() 공개 메소드

Loads an assembly into the AppDomain by its fully qualified assembly name
public LoadAssembly ( string AssemblyName ) : bool
AssemblyName string
리턴 bool

LoadAssemblyFrom() 공개 메소드

Loads an assembly into the AppDomain by a fully qualified assembly path
public LoadAssemblyFrom ( string AssemblyFileName ) : bool
AssemblyFileName string
리턴 bool

RemoveArrayItem() 공개 메소드

Removes an item from a .NET array with indirection to work around VFP's inability to manipulate .NET array elements.
public RemoveArrayItem ( object baseObject, string arrayObject, int Index ) : bool
baseObject object The arrays parent object
arrayObject string The array's name as a string
Index int The index to of the item to delete. NOTE: 1 based!
리턴 bool

SetArrayItem() 공개 메소드

Sets an array element to a given value. Assumes the array is big enough and the array item exists.
public SetArrayItem ( object baseObject, string arrayName, int index, object value ) : bool
baseObject object base object reference
arrayName string Name of the array as a string
index int The index of the item to set
value object The value to set the array item to
리턴 bool

SetError() 보호된 메소드

protected SetError ( ) : void
리턴 void

SetError() 보호된 메소드

protected SetError ( Exception ex ) : void
ex System.Exception
리턴 void

SetError() 보호된 메소드

protected SetError ( Exception ex, bool checkInner ) : void
ex System.Exception
checkInner bool
리턴 void

SetError() 보호된 메소드

protected SetError ( string message ) : void
message string
리턴 void

SetProperty() 공개 메소드

Sets a property of a .NET object with a value
public SetProperty ( object Instance, string Property, object Value ) : void
Instance object
Property string
Value object
리턴 void

SetPropertyEx() 공개 메소드

Sets a property of a .NET object with a value using extended syntax. This method supports '.' syntax so you can use "Property.ChildProperty" to walk the object hierarchy in the string property parameter. This method also supports accessing of Array/Collection indexers (Item[1])
public SetPropertyEx ( object Instance, string Property, object Value ) : void
Instance object
Property string
Value object
리턴 void

SetStaticProperty() 공개 메소드

public SetStaticProperty ( string typeName, string property, object value ) : bool
typeName string
property string
value object
리턴 bool

ToJson() 공개 메소드

Returns a JSON string from a .NET object. Note: doesn't work with FoxPro COM objects - only Interop .NET objects
public ToJson ( object value, bool formatted ) : string
value object
formatted bool
리턴 string

ToXml() 공개 메소드

Returns an XML object from a .NET object. Note doesn't work with FoxPro COM object - only Interop .NET objects
public ToXml ( object value ) : string
value object
리턴 string

XmlStringToDataSet() 공개 메소드

Converts an Xml String created from a FoxPro Xml Adapter or CursorToXml into a DataSet if possible.
public XmlStringToDataSet ( string xml ) : DataSet
xml string
리턴 System.Data.DataSet

wwDotNetBridge() 공개 메소드

public wwDotNetBridge ( ) : Newtonsoft.Json
리턴 Newtonsoft.Json