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
- WebPartDeleteVerb.cs
- XamlInt32CollectionSerializer.cs
- ComponentResourceManager.cs
- WebConfigurationHost.cs
- NativeMethods.cs
- WebPartConnectionsDisconnectVerb.cs
- XPathExpr.cs
- InternalControlCollection.cs
- util.cs
- ImageSource.cs
- DateTimePicker.cs
- __ConsoleStream.cs
- ProcessThread.cs
- ImageListUtils.cs
- XmlSchemaSimpleType.cs
- tooltip.cs
- SpnEndpointIdentityExtension.cs
- HwndAppCommandInputProvider.cs
- ConstNode.cs
- CaseInsensitiveComparer.cs
- DataListAutoFormat.cs
- TextFormatterHost.cs
- AccessibleObject.cs
- StateDesigner.CommentLayoutGlyph.cs
- OneOfElement.cs
- UserControl.cs
- DataFieldEditor.cs
- CharacterBuffer.cs
- MultiPageTextView.cs
- LightweightCodeGenerator.cs
- SplineQuaternionKeyFrame.cs
- MarginsConverter.cs
- ColumnResizeAdorner.cs
- ShaperBuffers.cs
- ExclusiveCanonicalizationTransform.cs
- HtmlInputSubmit.cs
- SoapMessage.cs
- TransformValueSerializer.cs
- ToolStripItemRenderEventArgs.cs
- SqlDataSourceEnumerator.cs
- CompilerGlobalScopeAttribute.cs
- AttachedPropertiesService.cs
- RestHandlerFactory.cs
- MulticastIPAddressInformationCollection.cs
- _SSPISessionCache.cs
- TemplatedMailWebEventProvider.cs
- SecurityTokenAuthenticator.cs
- HtmlForm.cs
- DataBindingExpressionBuilder.cs
- VisualStates.cs
- ComboBox.cs
- NoClickablePointException.cs
- RegexCapture.cs
- ToolStripDropTargetManager.cs
- HwndTarget.cs
- MimeTypeAttribute.cs
- DeclarativeExpressionConditionDeclaration.cs
- ColumnHeaderConverter.cs
- SystemWebSectionGroup.cs
- UnsafeNativeMethods.cs
- InternalCompensate.cs
- SqlWorkflowPersistenceService.cs
- XmlIgnoreAttribute.cs
- PointAnimationClockResource.cs
- X509SecurityTokenProvider.cs
- WasHttpModulesInstallComponent.cs
- Win32Native.cs
- EnumConverter.cs
- HwndHost.cs
- ProcessModelSection.cs
- DropTarget.cs
- MultiDataTrigger.cs
- PersistencePipeline.cs
- VisualTarget.cs
- RoutedUICommand.cs
- TextRenderingModeValidation.cs
- SettingsPropertyNotFoundException.cs
- BindingBase.cs
- RegistryKey.cs
- RelOps.cs
- ContainerTracking.cs
- CngAlgorithm.cs
- StringBuilder.cs
- ExpressionPrefixAttribute.cs
- VectorCollectionConverter.cs
- MsmqVerifier.cs
- DocumentPage.cs
- ObjectDataSourceView.cs
- BitmapEffectGroup.cs
- BaseCollection.cs
- SqlNodeAnnotations.cs
- ZipIOExtraFieldPaddingElement.cs
- ProcessHostServerConfig.cs
- LocalIdKeyIdentifierClause.cs
- IApplicationTrustManager.cs
- PersonalizationEntry.cs
- OleDbParameter.cs
- ResourcesGenerator.cs
- LiteralTextParser.cs
- QueryTask.cs