/// <summary> /// Initializes a new instance of the <see cref="TagContext"/> class. /// </summary> /// <param name="environment">The environment.</param> public TagContext(TagEnvironment environment) { if (environment == null) { throw new ArgumentNullException("environment"); } _environment = environment; }
internal TagContext() { _environment = (TagEnvironment)this; }
/// <summary> /// Initializes a new instance of the <see cref="TagItemCollection"/> class. /// </summary> /// <param name="environment">The environment.</param> public TagItemCollection(TagEnvironment environment) { _environment = environment; }
TagItemCollection(TagEnvironment environment, string name) { _environment = environment; _name = name; }
/// <summary> /// Initializes a new instance of the <see cref="TagPropertyCollection"/> class. /// </summary> /// <param name="environment">The environment.</param> internal TagPropertyCollection(TagEnvironment environment) : base(StringComparer.OrdinalIgnoreCase) { _environment = environment; }