/// <summary> /// Creates a new instance of the <see cref="FileStatement"/> class. /// </summary> /// <param name="type">The type of statement this is.</param> /// <param name="fileName">The filename 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 FileStatement(FileStatementType type, string fileName, string arg1, List<IDependancy> deps) : base("", deps) { this.Type = type; this.Filename = fileName; this.Arg1 = arg1; base.Type = StatementType.File; }
/// <summary> /// Creates a new instance of the <see cref="FileStatement"/> class. /// </summary> /// <param name="type">The type of statement this is.</param> /// <param name="fileName">The filename of this statement.</param> /// <param name="arg1">The first argument for this statement.</param> public FileStatement(FileStatementType type, string fileName, string arg1) : base("") { this.Type = type; this.Filename = fileName; this.Arg1 = arg1; base.Type = StatementType.File; }
/// <summary> /// Creates a new instance of the <see cref="FileStatement"/> class. /// </summary> /// <param name="type">The type of statement this is.</param> /// <param name="fileName">The filename 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 FileStatement(FileStatementType type, string fileName, string arg1, object arg2, List<IDependancy> deps) : this(type, fileName, arg1, deps) { this.Arg2 = arg2; }
/// <summary> /// Creates a new instance of the <see cref="FileStatement"/> class. /// </summary> /// <param name="type">The type of statement this is.</param> /// <param name="fileName">The filename 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 FileStatement(FileStatementType type, string fileName, string arg1, object arg2) : this(type, fileName, arg1) { this.Arg2 = arg2; }