Initializes a new instance of the Resource<(Of <(<'TDevice, TResource, TMetadata>)>)> class

Namespace: VVVV.PluginInterfaces.V2
Assembly: VVVV.PluginInterfaces (in VVVV.PluginInterfaces.dll) Version: 2.0.4694.10872

Syntax

C#
public Resource(
	TMetadata metadata,
	Func<TMetadata, TDevice, TResource> createResourceFunc,
	Action<TMetadata, TResource> updateResourceFunc,
	Action<TMetadata, TResource> destroyResourceAction
)

Parameters

metadata
Type: TMetadata

[Missing <param name="metadata"/> documentation for "M:VVVV.PluginInterfaces.V2.Resource`3.#ctor(`2,System.Func{`2,`0,`1},System.Action{`2,`1},System.Action{`2,`1})"]

createResourceFunc
Type: System..::..Func<(Of <(<'TMetadata, TDevice, TResource>)>)>

[Missing <param name="createResourceFunc"/> documentation for "M:VVVV.PluginInterfaces.V2.Resource`3.#ctor(`2,System.Func{`2,`0,`1},System.Action{`2,`1},System.Action{`2,`1})"]

updateResourceFunc
Type: System..::..Action<(Of <(<'TMetadata, TResource>)>)>

[Missing <param name="updateResourceFunc"/> documentation for "M:VVVV.PluginInterfaces.V2.Resource`3.#ctor(`2,System.Func{`2,`0,`1},System.Action{`2,`1},System.Action{`2,`1})"]

destroyResourceAction
Type: System..::..Action<(Of <(<'TMetadata, TResource>)>)>

[Missing <param name="destroyResourceAction"/> documentation for "M:VVVV.PluginInterfaces.V2.Resource`3.#ctor(`2,System.Func{`2,`0,`1},System.Action{`2,`1},System.Action{`2,`1})"]

See Also