ln.manage/IManagedContainer.cs

30 lines
836 B
C#

// /**
// * 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<IManagedContainer> Children { get; }
string Name { get; }
IEnumerable<PropertyDescriptor> PropertyDescriptors { get; }
string IdentityPropertyName { get; }
IManagedObject[] GetManagedObjects();
IManagedObject GetManagedObject(object identity);
IManagedObject CreateManagedObject();
bool DisposeManagedObject(object identity);
}
}