namespace OpenDBDiff.Schema.Model { public interface ISchemaList where T : ISchemaBase where P : ISchemaBase { void Add(T item); SchemaList Clone(P parentObject); bool Contains(string name); T Find(int id); T this[string name] { get; set; } T this[int index] { get; set; } P Parent { get; } int Count { get; } } }