IGrainContext.SetComponent<TComponent>(TComponent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the provided value as the component for type TComponent
.
public void SetComponent<TComponent> (TComponent value) where TComponent : class;
public void SetComponent<TComponent> (TComponent? value) where TComponent : class;
abstract member SetComponent : 'Component -> unit (requires 'Component : null)
Public Sub SetComponent(Of TComponent As Class) (value As TComponent)
Type Parameters
- TComponent
The type used to lookup this component.
Parameters
- value
- TComponent
The component instance.