e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <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;
|
|
}
|
|
|
|
}
|
|
}
|