PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/ExpressInteropBinding/Microsoft.ServiceModel.Interop.ExtensionUtils/Templates/WSO2.tt

#
Unknown | 18 lines | 16 code | 2 blank | 0 comment | 0 complexity | 6e9316a0925d860ed1f5b0a231b56bb0 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, Apache-2.0
  1. <#@ template debug="false" hostspecific="false" language="C#" #>
  2. <#@ output extension=".txt" #>
  3. <#@ parameter name="BindingName" type="System.String" #>
  4. <#@ parameter name="SECURITY" type="System.String" #>
  5. <#@ parameter name="SECURE_CONVERSATION" type="System.String" #>
  6. <#@ parameter name="PATTERN" type="System.String" #>
  7. <#
  8. string bootstrap = " ";
  9. if (this.SECURE_CONVERSATION.ToString() != "")
  10. {
  11. bootstrap = "secureConversationBootstrap='" + this.SECURE_CONVERSATION.ToString() + "'";
  12. }
  13. #>
  14. <binding name='<#= this.BindingName #>'>
  15. <security pattern='<#= this.PATTERN #>' <#= bootstrap #> />
  16. </binding>