Cast(IAddressable, Type)
abstract
public abstract object Cast(IAddressable grain, Type interfaceType) Converts the provided
grain to the provided interfaceType. Parameters
grainIAddressable- The grain.
interfaceTypeType- The resulting interface type.
Returns
A reference to
grain which implements interfaceType.