e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
31 lines
990 B
C#
31 lines
990 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="ConfigurationLocation.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Configuration {
|
|
using System.Collections;
|
|
using System.Collections.Specialized;
|
|
using System.Configuration;
|
|
using System.Text;
|
|
|
|
public class ConfigurationLocation {
|
|
Configuration _config;
|
|
string _locationSubPath;
|
|
|
|
internal ConfigurationLocation(Configuration config, string locationSubPath) {
|
|
_config = config;
|
|
_locationSubPath = locationSubPath;
|
|
}
|
|
|
|
public string Path {
|
|
get {return _locationSubPath;}
|
|
}
|
|
|
|
public Configuration OpenConfiguration() {
|
|
return _config.OpenLocationConfiguration(_locationSubPath);
|
|
}
|
|
}
|
|
}
|