Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ExeConfigurationFileMap.cs / 1305376 / ExeConfigurationFileMap.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Specialized; using System.Security; using System.Security.Permissions; namespace System.Configuration { // // Holds the configuration file mapping for an Exe. // public sealed class ExeConfigurationFileMap : ConfigurationFileMap { string _exeConfigFilename; string _roamingUserConfigFilename; string _localUserConfigFilename; public ExeConfigurationFileMap() { _exeConfigFilename = String.Empty; _roamingUserConfigFilename = String.Empty; _localUserConfigFilename = String.Empty; } public ExeConfigurationFileMap(string machineConfigFileName) : base(machineConfigFileName) { _exeConfigFilename = String.Empty; _roamingUserConfigFilename = String.Empty; _localUserConfigFilename = String.Empty; } ExeConfigurationFileMap(string machineConfigFileName, string exeConfigFilename, string roamingUserConfigFilename, string localUserConfigFilename) : base(machineConfigFileName) { _exeConfigFilename = exeConfigFilename; _roamingUserConfigFilename = roamingUserConfigFilename; _localUserConfigFilename = localUserConfigFilename; } public override object Clone() { return new ExeConfigurationFileMap(MachineConfigFilename, _exeConfigFilename, _roamingUserConfigFilename, _localUserConfigFilename); } // // The name of the config file for the exe. // public string ExeConfigFilename { get { return _exeConfigFilename; } set { _exeConfigFilename = value; } } // // The name of the config file for the roaming user. // public string RoamingUserConfigFilename { get { return _roamingUserConfigFilename; } set { _roamingUserConfigFilename = value; } } // // The name of the config file for the local user. // public string LocalUserConfigFilename { get { return _localUserConfigFilename; } set { _localUserConfigFilename = value; } } } } // 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
- TrustManagerMoreInformation.cs
- ButtonRenderer.cs
- CallId.cs
- TemplatedMailWebEventProvider.cs
- GridEntryCollection.cs
- SoundPlayer.cs
- CryptoKeySecurity.cs
- ScaleTransform.cs
- MediaSystem.cs
- TextParaLineResult.cs
- Page.cs
- SplineQuaternionKeyFrame.cs
- ProjectionPlanCompiler.cs
- GPRECT.cs
- SecurityManager.cs
- SymLanguageVendor.cs
- UpdatePanelTriggerCollection.cs
- ObjectToIdCache.cs
- DbTransaction.cs
- NavigationWindow.cs
- SymbolEqualComparer.cs
- PageCodeDomTreeGenerator.cs
- Axis.cs
- InternalBufferOverflowException.cs
- TraceEventCache.cs
- RTLAwareMessageBox.cs
- StickyNoteHelper.cs
- HitTestParameters.cs
- TextEffectResolver.cs
- NegotiateStream.cs
- OleDbReferenceCollection.cs
- DataGridViewColumnCollectionDialog.cs
- ScrollBar.cs
- TemplateField.cs
- NotifyCollectionChangedEventArgs.cs
- ToolBarButtonClickEvent.cs
- DropShadowEffect.cs
- ValidateNames.cs
- ServicePoint.cs
- ListControl.cs
- RowVisual.cs
- Msec.cs
- DemultiplexingDispatchMessageFormatter.cs
- TableLayout.cs
- TemplateControlParser.cs
- RegisterInfo.cs
- PropertyIDSet.cs
- RijndaelManagedTransform.cs
- XmlSchemaCollection.cs
- BitmapImage.cs
- NodeFunctions.cs
- SafeNativeMethods.cs
- MemberCollection.cs
- Exceptions.cs
- Polyline.cs
- BaseDataList.cs
- DataGrid.cs
- Sentence.cs
- Material.cs
- HScrollProperties.cs
- RunInstallerAttribute.cs
- Dump.cs
- RoleManagerSection.cs
- WindowsHyperlink.cs
- ClientSettingsProvider.cs
- SplitterEvent.cs
- MouseButtonEventArgs.cs
- BitmapEffectDrawing.cs
- ToolStripItemEventArgs.cs
- DrawTreeNodeEventArgs.cs
- FileIOPermission.cs
- TransformDescriptor.cs
- CustomError.cs
- XsltLibrary.cs
- SplayTreeNode.cs
- OleDbSchemaGuid.cs
- XPathDocument.cs
- LoginName.cs
- AttachInfo.cs
- BamlRecordWriter.cs
- SplineQuaternionKeyFrame.cs
- ToolStripDropDownMenu.cs
- NativeRecognizer.cs
- FontInfo.cs
- VariantWrapper.cs
- AlgoModule.cs
- GeneralTransform3DCollection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Color.cs
- ExpressionPrefixAttribute.cs
- BaseValidator.cs
- CollectionsUtil.cs
- CSharpCodeProvider.cs
- _LazyAsyncResult.cs
- _BaseOverlappedAsyncResult.cs
- GeneralTransform.cs
- TemplateManager.cs
- Operator.cs
- PassportAuthenticationModule.cs
- ArgumentValue.cs