Share via


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

Permissions

See Also

Reference

TemplateActivity Class

TemplateActivity Members

Microsoft.Data.Entity.Design.VisualStudio.TextTemplating Namespace

Other Resources

Windows Workflow

Generating Artifacts by Using Text Templates