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
- WorkflowStateRollbackService.cs
- TreeViewItem.cs
- InspectionWorker.cs
- PatternMatcher.cs
- DataKey.cs
- ListMarkerLine.cs
- EventListener.cs
- FtpRequestCacheValidator.cs
- DataGridViewCellStyleChangedEventArgs.cs
- PrintDocument.cs
- SrgsRuleRef.cs
- DataGridDetailsPresenter.cs
- DataGridViewTextBoxColumn.cs
- SqlDataRecord.cs
- TemplatePartAttribute.cs
- SerializationSectionGroup.cs
- DictionaryTraceRecord.cs
- SafeIUnknown.cs
- FrameworkElement.cs
- SwitchLevelAttribute.cs
- SoapSchemaExporter.cs
- SmtpFailedRecipientsException.cs
- Crc32Helper.cs
- ListControlBoundActionList.cs
- AssemblyNameProxy.cs
- NativeMethodsOther.cs
- UnmanagedHandle.cs
- CharacterBuffer.cs
- MatrixAnimationBase.cs
- FileEnumerator.cs
- SystemIcons.cs
- VectorAnimation.cs
- ControlAdapter.cs
- UpdateDelegates.Generated.cs
- LazyTextWriterCreator.cs
- PeerContact.cs
- InputScopeManager.cs
- AuthenticationService.cs
- MemberInfoSerializationHolder.cs
- Psha1DerivedKeyGenerator.cs
- RequestCacheManager.cs
- NotifyParentPropertyAttribute.cs
- WCFModelStrings.Designer.cs
- FilterElement.cs
- WebPartDescription.cs
- OperatingSystem.cs
- WebHttpEndpointElement.cs
- AsymmetricSignatureFormatter.cs
- MemberRelationshipService.cs
- DataFormats.cs
- CorrelationManager.cs
- WindowsSlider.cs
- ReceiveActivityDesignerTheme.cs
- DesignerInterfaces.cs
- UIElement.cs
- DataPagerFieldCommandEventArgs.cs
- _emptywebproxy.cs
- NamespaceInfo.cs
- Converter.cs
- RefreshResponseInfo.cs
- PKCS1MaskGenerationMethod.cs
- FlowDocumentFormatter.cs
- ScriptComponentDescriptor.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SmtpMail.cs
- DataGridViewCellPaintingEventArgs.cs
- HttpAsyncResult.cs
- StateDesigner.Helpers.cs
- EncodingNLS.cs
- NameValueCollection.cs
- HelpInfo.cs
- KeyedHashAlgorithm.cs
- SendKeys.cs
- DisposableCollectionWrapper.cs
- CompressionTransform.cs
- ApplicationFileCodeDomTreeGenerator.cs
- UserPreferenceChangingEventArgs.cs
- Image.cs
- WriteFileContext.cs
- SerTrace.cs
- TextBounds.cs
- FormsAuthenticationModule.cs
- PerformanceCounter.cs
- StickyNoteAnnotations.cs
- COM2ComponentEditor.cs
- VarRefManager.cs
- CodeSubDirectory.cs
- InputReferenceExpression.cs
- BitStack.cs
- CurrencyWrapper.cs
- DbConnectionPoolGroup.cs
- Transform.cs
- URLMembershipCondition.cs
- ConfigurationLoaderException.cs
- TypeReference.cs
- XPathException.cs
- AccessedThroughPropertyAttribute.cs
- PasswordTextNavigator.cs
- TraceSwitch.cs
- SiteMapPath.cs