TemplateActivity.OnGetTemplateInputs Method
Populates an IDictionary that is used to provide inputs to a text template. This method can be overridden in derived classes to provide custom inputs. These inputs are placed into CallContext for use by the text template.
Namespace: Microsoft.Data.Entity.Design.VisualStudio.TextTemplating
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Syntax
'Declaration
Protected MustOverride Sub OnGetTemplateInputs ( _
context As NativeActivityContext, _
inputs As IDictionary(Of String, Object) _
)
'Usage
Dim context As NativeActivityContext
Dim inputs As IDictionary(Of String, Object)
Me.OnGetTemplateInputs(context, inputs)
protected abstract void OnGetTemplateInputs(
NativeActivityContext context,
IDictionary<string, Object> inputs
)
protected:
virtual void OnGetTemplateInputs(
NativeActivityContext^ context,
IDictionary<String^, Object^>^ inputs
) abstract
protected abstract function OnGetTemplateInputs(
context : NativeActivityContext,
inputs : IDictionary<String, Object>
)
Parameters
- context
Type: System.Activities.NativeActivityContext
The state of the current activity.
- inputs
Type: System.Collections.Generic.IDictionary<String, Object>
A dictionary that relates input names to input values for use by a text template.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Data.Entity.Design.VisualStudio.TextTemplating Namespace