Click or drag to resize

HpSvExtensionsGetOrCreateTSource, TResult Method

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.6.0.9999-localBuild
Syntax
C#
public static TResult GetOrCreate<TSource, TResult>(
	this TSource instance,
	Expression path
)
where TSource : class, IHpsvObject

Parameters

instance
Type: TSource
path
Type: System.Linq.ExpressionsExpressionTDelegate

Type Parameters

TSource
TResult

Return Value

Type: TResult

Usage 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