using System.Xml.Serialization; namespace ScriptNET.Runtime.Configuration { /// /// Represents single Scope node in script configuration /// public class ScopeDefinition { /// /// Type of the scope: 0 - default, 1 - function, 2 - using, 3 - event. /// [XmlAttribute(ConfigSchema.Id)] public int Id { get; set; } /// /// Fully qualified name of the scope activator. /// [XmlAttribute(ConfigSchema.ActivatorAttribute)] public string Type { get; set; } /// /// Default constructor /// public ScopeDefinition() { } } }