/ExpressInteropBinding/Microsoft.ServiceModel.Interop.ExtensionUtils/Templates/WSO2.tt
# · TemplateToolkit · 18 lines · 16 code · 2 blank · 0 comment · 0 complexity · 6e9316a0925d860ed1f5b0a231b56bb0 MD5 · raw file
- <#@ template debug="false" hostspecific="false" language="C#" #>
- <#@ output extension=".txt" #>
-
- <#@ parameter name="BindingName" type="System.String" #>
- <#@ parameter name="SECURITY" type="System.String" #>
- <#@ parameter name="SECURE_CONVERSATION" type="System.String" #>
- <#@ parameter name="PATTERN" type="System.String" #>
- <#
- string bootstrap = " ";
- if (this.SECURE_CONVERSATION.ToString() != "")
- {
- bootstrap = "secureConversationBootstrap='" + this.SECURE_CONVERSATION.ToString() + "'";
- }
- #>
-
- <binding name='<#= this.BindingName #>'>
- <security pattern='<#= this.PATTERN #>' <#= bootstrap #> />
- </binding>