Exemple #1
0
/// <summary>
/// Initialize the template
/// </summary>
        public virtual void Initialize()
        {
            if ((this.Errors.HasErrors == false))
            {
                bool manualInterventionValueAcquired = false;
                if (this.Session.ContainsKey("manualIntervention"))
                {
                    this._manualInterventionField   = ((global::Microsoft.ALMRangers.RMWorkflowMigrator.Generator.PowerShell.Model.ScriptManualIntervention)(this.Session["manualIntervention"]));
                    manualInterventionValueAcquired = true;
                }
                if ((manualInterventionValueAcquired == false))
                {
                    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("manualIntervention");
                    if ((data != null))
                    {
                        this._manualInterventionField = ((global::Microsoft.ALMRangers.RMWorkflowMigrator.Generator.PowerShell.Model.ScriptManualIntervention)(data));
                    }
                }
            }
        }
/// <summary>
/// Initialize the template
/// </summary>
public virtual void Initialize()
{
    if ((this.Errors.HasErrors == false))
    {
bool manualInterventionValueAcquired = false;
if (this.Session.ContainsKey("manualIntervention"))
{
    this._manualInterventionField = ((global::Microsoft.ALMRangers.RMWorkflowMigrator.Generator.PowerShell.Model.ScriptManualIntervention)(this.Session["manualIntervention"]));
    manualInterventionValueAcquired = true;
}
if ((manualInterventionValueAcquired == false))
{
    object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("manualIntervention");
    if ((data != null))
    {
        this._manualInterventionField = ((global::Microsoft.ALMRangers.RMWorkflowMigrator.Generator.PowerShell.Model.ScriptManualIntervention)(data));
    }
}


    }
}