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
- Debug.cs
- StoryFragments.cs
- UrlPropertyAttribute.cs
- DataViewSetting.cs
- EventListenerClientSide.cs
- DivideByZeroException.cs
- FlagPanel.cs
- XmlConvert.cs
- StringAttributeCollection.cs
- ColumnMapProcessor.cs
- _ListenerAsyncResult.cs
- RequestBringIntoViewEventArgs.cs
- DBSchemaRow.cs
- WebColorConverter.cs
- IMembershipProvider.cs
- HttpGetServerProtocol.cs
- ExpressionVisitor.cs
- MatrixConverter.cs
- FactoryRecord.cs
- TimelineClockCollection.cs
- CrossContextChannel.cs
- SoapAttributeAttribute.cs
- VerificationException.cs
- MaterialCollection.cs
- TdsParameterSetter.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SelectionHighlightInfo.cs
- RSAProtectedConfigurationProvider.cs
- SourceFileBuildProvider.cs
- DocComment.cs
- ToolStripPanelRow.cs
- ToolZone.cs
- ImageCodecInfo.cs
- OutputScope.cs
- FieldToken.cs
- WmlLabelAdapter.cs
- PrtCap_Public.cs
- FontWeight.cs
- IPAddressCollection.cs
- CodeAttributeDeclarationCollection.cs
- RadioButtonList.cs
- FunctionMappingTranslator.cs
- MessageEventSubscriptionService.cs
- BasicViewGenerator.cs
- CalendarDateRangeChangingEventArgs.cs
- LocatorManager.cs
- MetadataCache.cs
- FixedHighlight.cs
- DesignerActionMethodItem.cs
- AssociatedControlConverter.cs
- RepeatBehaviorConverter.cs
- XmlEncoding.cs
- XmlSchemaExporter.cs
- ServiceOperationViewControl.cs
- oledbmetadatacollectionnames.cs
- DbProviderConfigurationHandler.cs
- LoginViewDesigner.cs
- MultipartIdentifier.cs
- NavigationFailedEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- lengthconverter.cs
- ObjectStateEntry.cs
- WebPartAuthorizationEventArgs.cs
- ListViewUpdateEventArgs.cs
- Int32Collection.cs
- HwndMouseInputProvider.cs
- ToolStripManager.cs
- HandledMouseEvent.cs
- PixelFormats.cs
- UpdateRecord.cs
- MultiPropertyDescriptorGridEntry.cs
- ToolStripOverflowButton.cs
- LayoutManager.cs
- WebPartConnectionCollection.cs
- BindingMemberInfo.cs
- Collection.cs
- DbConnectionClosed.cs
- XmlSchemaSimpleTypeRestriction.cs
- MultiPageTextView.cs
- XPathAxisIterator.cs
- WebConfigurationHostFileChange.cs
- InstallerTypeAttribute.cs
- Journal.cs
- MatchingStyle.cs
- OleDbConnection.cs
- TimerElapsedEvenArgs.cs
- TargetParameterCountException.cs
- ServiceParser.cs
- BooleanProjectedSlot.cs
- WinEventWrap.cs
- ExpressionPrinter.cs
- ToolStripCodeDomSerializer.cs
- UnauthorizedWebPart.cs
- WhiteSpaceTrimStringConverter.cs
- StreamWriter.cs
- Camera.cs
- ScalarOps.cs
- AsyncOperation.cs
- RepeaterItemCollection.cs
- GeneralTransform3DTo2DTo3D.cs