public void CompareTo(ConfigCollection actual) { if (this.Count == 0) return; if (this.Count != actual.Count) throw new FormatException("Expected " + this.Count + " configurations but got " + actual.Count); for (int i = 0; i < this.Count; ++i) this[i].CompareTo(actual[i]); }
public void CompareTo(ConfigCollection actual) { if (this.Count == 0) { return; } if (this.Count != actual.Count) { throw new FormatException("Expected " + this.Count + " configurations but got " + actual.Count); } for (int i = 0; i < this.Count; ++i) { this[i].CompareTo(actual[i]); } }
public Package() { Config = new ConfigCollection(); File = new FileCollection(); }
public Package() { Config = new ConfigCollection(); File = new FileCollection(); }