20 lines
548 B
C#
20 lines
548 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Inspectron.Settings
|
|
{
|
|
public interface ITreeView
|
|
{
|
|
/// <summary>
|
|
/// Gets the root object of the tree view</summary>
|
|
object Root
|
|
{
|
|
get;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Obtains enumeration of the children of the given parent object</summary>
|
|
/// <param name="parent">Parent object</param>
|
|
/// <returns>Enumeration of children of the parent object</returns>
|
|
IEnumerable<object> GetChildren(object parent);
|
|
}
|
|
} |