Atomized(TKey, TValue) Method (String, TKey, Func(TValue), Action(TValue))
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionAtomized(Of TKey, TValue) ( _
scopeNameAsString, _
keyAs TKey, _
createAsFunc(Of TValue), _
initAsAction(Of TValue) _
) As TValue
'Usage
DimscopeNameAsStringDimkeyAs TKey
DimcreateAsFunc(Of TValue)
DiminitAsAction(Of TValue)
DimreturnValueAs TValue
returnValue = IdentityAtomizer.Atomized(scopeName, _
key, create, init)
publicstatic TValue Atomized<TKey, TValue>(
stringscopeName,
TKey key,
Func<TValue> create,
Action<TValue> init
)
public:
generic<typename TKey, typename TValue>
static TValue Atomized(
String^ scopeName,
TKey key,
Func<TValue>^ create,
Action<TValue>^ init
)
JScript does not support generic types or methods.
Type Parameters
- TKey
- TValue
Parameters
- scopeName
Type: System. . :: . .String
- key
Type: TKey
- create
Type: System. . :: . .Func< (Of < ( <'TValue> ) > ) >
- init
Type: System. . :: . .Action< (Of < ( <'TValue> ) > ) >
Return Value
Type: TValue
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).