1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
//------------------------------------------------------------------------------
// <copyright file="HttpConfigurationContext.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.Configuration {
using System.Security.Permissions;
/// <devdoc>
/// <para>
/// Property dictionary available to section handlers in
/// web applications.
/// </para>
/// </devdoc>
public class HttpConfigurationContext {
private string vpath;
/// <devdoc>
/// <para>
/// Virtual path to the virtual directory containing web.config.
/// This could be the virtual path to a file in the case of a
/// section in <location path='file.aspx'>.
/// </para>
/// </devdoc>
public string VirtualPath {
get {
return vpath;
}
}
/// <devdoc>
/// <para>Can only be created by ASP.NET Configuration System.</para>
/// </devdoc>
internal HttpConfigurationContext(string vpath) {
this.vpath = vpath;
}
}
}
|