| MayBeExtensionsMaybeT, I Method |
Namespace: FlexRuleAssembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic static T Maybe<T, I>(
this I obj,
Func<I, T> func,
Object alter = null
)
Parameters
- obj
- Type: I
- func
- Type: SystemFuncI, T
- alter (Optional)
- Type: SystemObject
Type Parameters
- T
- I
Return Value
Type:
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also