Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ExeConfigurationFileMap.cs / 1 / 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; } 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. //------------------------------------------------------------------------------ //// 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; } 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
- WindowsAuthenticationModule.cs
- RegexBoyerMoore.cs
- ToggleButtonAutomationPeer.cs
- _OverlappedAsyncResult.cs
- FileDialogCustomPlace.cs
- ComponentCommands.cs
- KeyEvent.cs
- ResourceDisplayNameAttribute.cs
- InputBuffer.cs
- RawUIStateInputReport.cs
- InvokeFunc.cs
- RequestCacheValidator.cs
- HttpException.cs
- HtmlTableCellCollection.cs
- ValidationSummary.cs
- HostedElements.cs
- StateMachineWorkflowInstance.cs
- HtmlInputPassword.cs
- PeerApplication.cs
- SupportingTokenListenerFactory.cs
- PenContexts.cs
- LoginUtil.cs
- HMACRIPEMD160.cs
- ISO2022Encoding.cs
- Attributes.cs
- SchemaNotation.cs
- PasswordRecoveryDesigner.cs
- GrabHandleGlyph.cs
- ToolStripSeparatorRenderEventArgs.cs
- WmlSelectionListAdapter.cs
- WebServiceBindingAttribute.cs
- HandleCollector.cs
- DeviceSpecificDesigner.cs
- SymbolResolver.cs
- MultiSelector.cs
- StylusShape.cs
- ApplicationManager.cs
- SQLConvert.cs
- HttpCacheVaryByContentEncodings.cs
- InternalResources.cs
- ToolStripContextMenu.cs
- InvalidOleVariantTypeException.cs
- ReversePositionQuery.cs
- NavigationPropertyEmitter.cs
- ArcSegment.cs
- SqlProviderManifest.cs
- WizardPanel.cs
- UnmanagedMemoryStreamWrapper.cs
- HashCryptoHandle.cs
- SafeRightsManagementEnvironmentHandle.cs
- HtmlTableCellCollection.cs
- PageAsyncTask.cs
- NavigationHelper.cs
- DataGridViewComboBoxColumn.cs
- Popup.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- Group.cs
- SecureStringHasher.cs
- Span.cs
- PropertyChangedEventArgs.cs
- ValuePatternIdentifiers.cs
- PeerMaintainer.cs
- TextParaLineResult.cs
- EdmItemError.cs
- LateBoundBitmapDecoder.cs
- TdsParserHelperClasses.cs
- RayHitTestParameters.cs
- QilIterator.cs
- HttpHandlersSection.cs
- RepeatInfo.cs
- PathFigureCollection.cs
- X509CertificateCollection.cs
- LateBoundBitmapDecoder.cs
- DbProviderFactoriesConfigurationHandler.cs
- HttpCookiesSection.cs
- HitTestWithPointDrawingContextWalker.cs
- ProjectionCamera.cs
- RegionInfo.cs
- InstanceHandle.cs
- TextCharacters.cs
- SystemUdpStatistics.cs
- ObjectQueryProvider.cs
- TreeBuilder.cs
- RowUpdatedEventArgs.cs
- SiteMapNodeItem.cs
- CodeStatement.cs
- _BasicClient.cs
- CompiledAction.cs
- ControlAdapter.cs
- TextHidden.cs
- XPathEmptyIterator.cs
- DataServiceHost.cs
- MessageAction.cs
- itemelement.cs
- TextLineBreak.cs
- DataRowCollection.cs
- LinqDataSourceInsertEventArgs.cs
- BadImageFormatException.cs
- DataServiceException.cs
- StopStoryboard.cs