// /** // * File: IManagedContainer.cs // * Author: haraldwolff // * // * This file and it's content is copyrighted by the Author and / or copyright holder. // * Any use wihtout proper permission is illegal and may lead to legal actions. // * // * // **/ using System; using System.Collections.Generic; namespace ln.manage { public interface IManagedContainer { IManagedContainer Parent { get; } IEnumerable Children { get; } string Name { get; } IEnumerable PropertyDescriptors { get; } string IdentityPropertyName { get; } IManagedObject[] GetManagedObjects(); IManagedObject GetManagedObject(object identity); IManagedObject CreateManagedObject(); bool DisposeManagedObject(object identity); } }