using System; using System.Collections.Generic; using System.Text; namespace ScrewTurn.Wiki { /// /// Describes the subject of an ACL entry. /// public class SubjectInfo { private string name; private SubjectType type; /// /// Initializes a new instance of the class. /// /// The name. /// The type. public SubjectInfo(string name, SubjectType type) { this.name = name; this.type = type; } /// /// Gets the name. /// public string Name { get { return name; } } /// /// Gets the type. /// public SubjectType Type { get { return type; } } } /// /// Lists legal values for the type of a subject. /// public enum SubjectType { /// /// A user. /// User, /// /// A group. /// Group } }