Click or drag to resize

TextGeneratorUtilTryGetTextGenerator Method

Try to get the text generator for me

Namespace: SanteDB.Core.Model.Text
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public static bool TryGetTextGenerator(
	this IAnnotatedResource me,
	out IResourceTextGenerator textGenerator
)

Parameters

me  IAnnotatedResource
The annotated resource to get the text generator
textGenerator  IResourceTextGenerator
The text generator

Return Value

Boolean
True if a text generator exists

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAnnotatedResource. 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