Exemple #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="DirectoryStatement"/> class.
 /// </summary>
 /// <param name="type">The type of statement this is.</param>
 /// <param name="directoryName">The DirectoryName of this statement.</param>
 /// <param name="arg1">The first argument for this statement.</param>
 /// <param name="deps">The list of dependancies for this statement.</param>
 public DirectoryStatement(DirectoryStatementType type, string directoryName, string arg1, List<IDependancy> deps)
     : base("", deps)
 {
     this.Type = type;
     this.DirectoryName = directoryName;
     this.Arg1 = arg1;
     base.Type = StatementType.Directory;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="DirectoryStatement"/> class.
 /// </summary>
 /// <param name="type">The type of statement this is.</param>
 /// <param name="directoryName">The DirectoryName of this statement.</param>
 /// <param name="arg1">The first argument for this statement.</param>
 public DirectoryStatement(DirectoryStatementType type, string directoryName, string arg1)
     : base("")
 {
     this.Type = type;
     this.DirectoryName = directoryName;
     this.Arg1 = arg1;
     base.Type = StatementType.Directory;
 }
Exemple #3
0
 /// <summary>
 /// Creates a new instance of the <see cref="DirectoryStatement"/> class.
 /// </summary>
 /// <param name="type">The type of statement this is.</param>
 /// <param name="directoryName">The DirectoryName of this statement.</param>
 /// <param name="arg1">The first argument for this statement.</param>
 /// <param name="arg2">The second argument for this statement.</param>
 /// <param name="deps">The list of dependancies for this statement.</param>
 public DirectoryStatement(DirectoryStatementType type, string directoryName, string arg1, object arg2, List<IDependancy> deps)
     : this(type, directoryName, arg1, deps)
 {
     this.Arg2 = arg2;
 }
Exemple #4
0
 /// <summary>
 /// Creates a new instance of the <see cref="DirectoryStatement"/> class.
 /// </summary>
 /// <param name="type">The type of statement this is.</param>
 /// <param name="directoryName">The DirectoryName of this statement.</param>
 /// <param name="arg1">The first argument for this statement.</param>
 /// <param name="arg2">The second argument for this statement.</param>
 public DirectoryStatement(DirectoryStatementType type, string directoryName, string arg1, object arg2)
     : this(type, directoryName, arg1)
 {
     this.Arg2 = arg2;
 }