Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SimpleCommit" /> class.
        /// </summary>
        /// <param name="rocket">The rocket.</param>
        /// <param name="commit">The commit.</param>
        /// <exception cref="System.ArgumentNullException">commit</exception>
        internal SimpleCommit(RocketFilterApp rocket, Commit commit)
        {
            if (commit == null) throw new ArgumentNullException("commit");
            this.rocket = rocket;
            this.commit = commit;

            // Update all properties
            Reset();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RocketScriptBase"/> class.
 /// </summary>
 /// <param name="rocketFilterApp">The rocket filter application.</param>
 protected RocketScriptBase(RocketFilterApp rocketFilterApp)
 {
     if (rocketFilterApp == null) throw new ArgumentNullException("rocketFilterApp");
     this.rocketFilterApp = rocketFilterApp;
 }