/// <summary>
/// Initialize the template
/// </summary>
        public virtual void Initialize()
        {
            if ((this.Errors.HasErrors == false))
            {
                bool CustomTypeValueAcquired = false;
                if (this.Session.ContainsKey("CustomType"))
                {
                    this._CustomTypeField   = ((global::Spike.Build.CustomType)(this.Session["CustomType"]));
                    CustomTypeValueAcquired = true;
                }
                if ((CustomTypeValueAcquired == false))
                {
                    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("CustomType");
                    if ((data != null))
                    {
                        this._CustomTypeField = ((global::Spike.Build.CustomType)(data));
                    }
                }
            }
        }
/// <summary>
/// Initialize the template
/// </summary>
public virtual void Initialize()
{
    if ((this.Errors.HasErrors == false))
    {
bool CustomTypeValueAcquired = false;
if (this.Session.ContainsKey("CustomType"))
{
    this._CustomTypeField = ((global::Spike.Build.CustomType)(this.Session["CustomType"]));
    CustomTypeValueAcquired = true;
}
if ((CustomTypeValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("CustomType");
    if ((data != null))
    {
        this._CustomTypeField = ((global::Spike.Build.CustomType)(data));
    }
}


    }
}