|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AmazedSaint.Elastic.Lib
{
public interface IHierarchyWrapperProvider<T>
{
IEnumerable<KeyValuePair<string, T>> Attributes { get; }
bool HasAttribute(string name);
IEnumerable<T> Elements { get; }
void SetAttributeValue(string name, object obj);
object GetAttributeValue(string name);
T Attribute(string name);
T Element(string name);
void AddAttribute(string key, T value);
void RemoveAttribute(string key);
void AddElement(T element);
void RemoveElement(T element);
object InternalValue { get; set; }
object InternalContent { get; set; }
string InternalName { get; set; }
T InternalParent { get; set; }
}
public interface IElasticHierarchyWrapper : IHierarchyWrapperProvider<ElasticObject> { }
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Architect, Developer, Speaker | Wannabe GUT inventor & Data Scientist | Microsoft MVP in C#