 | BcfSequenceFromFuncT Method |
[This is preliminary documentation and is subject to change.]
Creates a simple sequence based on specified
FuncTResult.
Namespace:
CalculationWorks.BusinessModel
Assembly:
CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntaxpublic static IBcfSequence<T> FromFunc<T>(
Func<T> next
)
Public Shared Function FromFunc(Of T) (
next As Func(Of T)
) As IBcfSequence(Of T)
Parameters
- next
- Type: SystemFuncT
The function creating the values; e.g. ()=>Guid.NewGuid().
Type Parameters
- T
- The column value type.
Return Value
Type:
IBcfSequenceTA simple sequence based on specified
FuncTResult.
Exceptions
ExamplesIBcfSequence<Guid> mySequence = BcfSequence.FromFunc(() => Guid.NewGuid())
See Also