Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / Internal / InternalConfigConfigurationFactory.cs / 1 / InternalConfigConfigurationFactory.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using ClassConfiguration = System.Configuration.Configuration;
using System.Collections;
using System.Configuration;
using System.Configuration.Internal;
using System.IO;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
using System.Threading;
namespace System.Configuration.Internal {
//
// Class used to create and initialize an instance of the Configuration class
// from assemblies other than System.
//
internal sealed class InternalConfigConfigurationFactory : IInternalConfigConfigurationFactory {
private InternalConfigConfigurationFactory() {}
ClassConfiguration IInternalConfigConfigurationFactory.Create(Type typeConfigHost, params object[] hostInitConfigurationParams) {
return new ClassConfiguration(null, typeConfigHost, hostInitConfigurationParams);
}
// Normalize a locationSubpath argument
string IInternalConfigConfigurationFactory.NormalizeLocationSubPath(string subPath, IConfigErrorInfo errorInfo) {
return BaseConfigurationRecord.NormalizeLocationSubPath(subPath, errorInfo);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using ClassConfiguration = System.Configuration.Configuration;
using System.Collections;
using System.Configuration;
using System.Configuration.Internal;
using System.IO;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
using System.Threading;
namespace System.Configuration.Internal {
//
// Class used to create and initialize an instance of the Configuration class
// from assemblies other than System.
//
internal sealed class InternalConfigConfigurationFactory : IInternalConfigConfigurationFactory {
private InternalConfigConfigurationFactory() {}
ClassConfiguration IInternalConfigConfigurationFactory.Create(Type typeConfigHost, params object[] hostInitConfigurationParams) {
return new ClassConfiguration(null, typeConfigHost, hostInitConfigurationParams);
}
// Normalize a locationSubpath argument
string IInternalConfigConfigurationFactory.NormalizeLocationSubPath(string subPath, IConfigErrorInfo errorInfo) {
return BaseConfigurationRecord.NormalizeLocationSubPath(subPath, errorInfo);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Validator.cs
- XmlNamespaceManager.cs
- UpDownBase.cs
- Select.cs
- UpDownBase.cs
- ReliableChannelBinder.cs
- VisualBrush.cs
- DateTimeSerializationSection.cs
- ThumbButtonInfoCollection.cs
- Pen.cs
- TraceContext.cs
- GenericUriParser.cs
- ProgressBarAutomationPeer.cs
- AssemblyHash.cs
- WebPartAuthorizationEventArgs.cs
- RealizationContext.cs
- VarRefManager.cs
- VerticalAlignConverter.cs
- CodeEntryPointMethod.cs
- WebPartsPersonalizationAuthorization.cs
- FixedBufferAttribute.cs
- TextOutput.cs
- Typography.cs
- AtomParser.cs
- PageTheme.cs
- DataGridViewColumnConverter.cs
- XMLDiffLoader.cs
- XamlToRtfParser.cs
- AutomationPatternInfo.cs
- BorderGapMaskConverter.cs
- ToolStripDropTargetManager.cs
- FontNamesConverter.cs
- MultipartIdentifier.cs
- PropertyDescriptorComparer.cs
- ResourceDescriptionAttribute.cs
- LicenseProviderAttribute.cs
- HierarchicalDataTemplate.cs
- DataGridViewColumn.cs
- ValueTypeFieldReference.cs
- SizeIndependentAnimationStorage.cs
- ThreadExceptionDialog.cs
- DesignTimeXamlWriter.cs
- SharedStatics.cs
- SQLMoneyStorage.cs
- SQLInt32Storage.cs
- ContentPropertyAttribute.cs
- EntityDataSourceContextDisposingEventArgs.cs
- RuleInfoComparer.cs
- ForceCopyBuildProvider.cs
- DataControlImageButton.cs
- DirectoryObjectSecurity.cs
- NegatedConstant.cs
- AssemblyUtil.cs
- _ConnectStream.cs
- GenericTransactionFlowAttribute.cs
- TargetControlTypeCache.cs
- _emptywebproxy.cs
- FormViewRow.cs
- JapaneseCalendar.cs
- hwndwrapper.cs
- Token.cs
- VectorAnimationUsingKeyFrames.cs
- ByteAnimation.cs
- DataSourceCacheDurationConverter.cs
- Int16Converter.cs
- SelectionItemPattern.cs
- StreamingContext.cs
- Msec.cs
- FileEnumerator.cs
- Part.cs
- APCustomTypeDescriptor.cs
- DefaultTraceListener.cs
- LookupBindingPropertiesAttribute.cs
- LinkConverter.cs
- XPathSelectionIterator.cs
- OperationDescriptionCollection.cs
- DataFieldConverter.cs
- HttpWrapper.cs
- ExtentJoinTreeNode.cs
- CurrentChangingEventArgs.cs
- EntityDataSourceUtil.cs
- InternalMappingException.cs
- Block.cs
- TextHintingModeValidation.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ObjectNavigationPropertyMapping.cs
- MimePart.cs
- SortQuery.cs
- Overlapped.cs
- WindowPattern.cs
- SmtpCommands.cs
- SecurityTokenSerializer.cs
- DependencyPropertyKind.cs
- NullEntityWrapper.cs
- WizardDesigner.cs
- DynamicScriptObject.cs
- Path.cs
- DataConnectionHelper.cs
- MissingMethodException.cs
- Configuration.cs