Esempio n. 1
0
        /// <summary>
        /// Creates a new output link
        /// </summary>
        /// <param name="engine">The engine</param>
        /// <param name="link">The link</param>
        /// <returns>The new output link</returns>
        public virtual SmartOutputLink CreateOutputLink(IRunEngine engine, ILink link)
        {
            SmartOutputLink smartOutputLink = new SmartOutputLink(engine, link);

            smartOutputLink.Initialize();
            return(smartOutputLink);
        }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="engine">reference to the engine</param>
 /// <param name="link">The ILink object</param>
 public SmartOutputLink(IRunEngine engine, ILink link)
 {
     this._link   = link;
     this._engine = engine;
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="engine">Reference to the engine</param>
 /// <param name="link">Reference to the link</param>
 public SmartInputLink(IRunEngine engine, ILink link)
 {
     this._link   = link;
     this._engine = engine;
 }
Esempio n. 4
0
 /// <summary>
 /// Creates a new output link 
 /// </summary>
 /// <param name="engine">The engine</param>
 /// <param name="link">The link</param>
 /// <returns>The new output link</returns>
 public virtual SmartOutputLink CreateOutputLink(IRunEngine engine, ILink link)
 {
     SmartOutputLink smartOutputLink = new SmartOutputLink(engine, link);
     return smartOutputLink;
 }
Esempio n. 5
0
 /// <summary>
 /// Creates a new input link 
 /// </summary>
 /// <param name="engine">The engine</param>
 /// <param name="link">The link</param>
 /// <returns>The new input link</returns>
 public virtual SmartInputLink CreateInputLink(IRunEngine engine, ILink link)
 {
     return new SmartInputLink(engine, link);
 }
Esempio n. 6
0
 /// <summary>
 /// Creates a new input link
 /// </summary>
 /// <param name="engine">The engine</param>
 /// <param name="link">The link</param>
 /// <returns>The new input link</returns>
 public virtual SmartInputLink CreateInputLink(IRunEngine engine, ILink link)
 {
     return(new SmartInputLink(engine, link));
 }
Esempio n. 7
0
 public RunCommand(IRunEngine runEngine, IHostApplicationLifetime hostApplicationLifetime)
 {
     _runEngine = runEngine;
     _hostApplicationLifetime = hostApplicationLifetime;
 }