AppFriendExtensions

Class Overview
AppFriend extension methods to provide dynamic functionality.



public Copy (this AppFriend app, Object obj)
Description
Copies indicated object into the target application and returns a DynamicAppVar to access it.

Return value
DynamicAppVar

Parameters
app
Application manipulation object
obj
Object to be sent (must be serializable, AppVar, or DynamicAppVar).



public Null (this AppFriend app)
Description
Declares a null variable in the target application and returns a DynamicAppVar to access it.

Return value
DynamicAppVar

Parameter
app
Application manipulation object



public Type (this AppFriend app)
Description
Helper method to generate an empty DynamicAppType.
You should follow a call to Type() with the fully qualified namespace and classname of the type you want to access.
Example:
  
    WindowsAppFriend app = new WindowsAppFriend(handle);
    app.Type().System.Windows.Forms.Control.FromHandle(handle);

Return value
DynamicAppType

Parameter
app
Application manipulation object



public Type <T> (this AppFriend app)
Description
Helper method for generating a DynamicAppType for the specified type.

Return value
DynamicAppType

Parameters
T
The desired type
app
Application manipulation object



public Type (this AppFriend app, Type type)
Description
Helper method for generating a DynamicAppType for the specified type.

Return value
DynamicAppType

Parameters
app
Application manipulation object
type
Type.



public Type (this AppFriend app, string typeFullName)
Description
Helper method for generating a DynamicAppType for the specified type.

Return value
DynamicAppType

Parameters
app
Application manipulation object
typeFullName
Type full name.

JR