public HandlerBuilder <T> IocService(string name) { IocName = name; FullClassName = string.Empty; StepHandlerType = StepHandlerTypeEnum.IoC; return(this); }
public HandlerBuilder <T> Service(string fullClassName) { IocName = string.Empty; FullClassName = fullClassName; StepHandlerType = StepHandlerTypeEnum.Service; return(this); }
public ScriptBuilder <HandlerBuilder <T> > Script() { if (ScriptBuilder == null) { ScriptBuilder = new ScriptBuilder <HandlerBuilder <T> >(this); } StepHandlerType = StepHandlerTypeEnum.Script; return(ScriptBuilder); }
/// <summary> /// Initializes a new instance of the <see cref="StepHandlerDefinition"/> class. /// </summary> /// <param name="stepHandlerType">Type of the step handler.</param> /// <param name="script">The script.</param> /// <param name="iocName">Name of the ioc.</param> /// <param name="classFullName">Full name of the class.</param> public StepHandlerDefinition(StepHandlerTypeEnum stepHandlerType, ScriptDefinition script, string iocName, string classFullName) { StepHandlerType = stepHandlerType; Script = script; IocName = iocName; ClassFullName = classFullName; }
public HandlerBuilder(T parent) { _parent = parent; StepHandlerType = StepHandlerTypeEnum.None; }