InvocationGridBuilderAddDependencyT Method (T)

ScaleOut Software NamedCache API
Ensures that the Assemblies required by dependency are copied to the hosts on which the invocation grid will run when the [M:Load] method is called.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.1.0.0
Syntax

public void AddDependency<T>(
	T dependency
)

Parameters

dependency
Type: T
an instance to be examined and added to the dependency list.

Type Parameters

T
the Type of the dependency
Remarks

The Assembly containing dependency's Type will be added to the list of assemblies to be transferred to invocation grid hosts. If T is a Delegate, the Assembly in which the Delegate's method is defined will be added to the dependency list. Any assembly in the Global Assembly Cache or part of the ScaleOut StateServer product is filtered out of the dependency list.

This overload is primarily intended to support adding dependencies by specifying the eval and merge method delegates to be used in a parallel method invocation request.

See Also

Reference