view Source/Templates/BLT4Toolkit.ttinclude @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
line wrap: on
line source

<#@ include file="T4Toolbox.tt" #>
<#

	var customToolNamespace = TransformationContext.FindProjectItem(Host.TemplateFile).Properties.Item("CustomToolNamespace").Value;

	if (customToolNamespace != null)
		Namespace = customToolNamespace.ToString();

	if (string.IsNullOrEmpty(Namespace))
		Namespace = TransformationContext.DefaultNamespace;

	if (string.IsNullOrEmpty(DataContextName))
		DataContextName = System.IO.Path.GetFileNameWithoutExtension(Host.TemplateFile);

#>