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
- SqlGenericUtil.cs
- IndependentAnimationStorage.cs
- TableSectionStyle.cs
- SiteMembershipCondition.cs
- StructuralCache.cs
- basevalidator.cs
- DataGridRowsPresenter.cs
- SynchronizationLockException.cs
- CodeVariableReferenceExpression.cs
- AssemblyAttributesGoHere.cs
- OdbcFactory.cs
- CodeDirectiveCollection.cs
- BindingContext.cs
- ReadOnlyObservableCollection.cs
- RegexInterpreter.cs
- HttpVersion.cs
- EventData.cs
- Transform.cs
- Rect.cs
- FormView.cs
- CaseStatementSlot.cs
- ListBoxItem.cs
- JoinSymbol.cs
- SqlClientMetaDataCollectionNames.cs
- References.cs
- EncodingDataItem.cs
- DataTableExtensions.cs
- MSHTMLHostUtil.cs
- GridLengthConverter.cs
- OleDbInfoMessageEvent.cs
- VariableAction.cs
- WindowPattern.cs
- LocatorPartList.cs
- ScriptingWebServicesSectionGroup.cs
- StackOverflowException.cs
- TableLayoutStyle.cs
- CqlErrorHelper.cs
- MultipleViewProviderWrapper.cs
- Crc32.cs
- mediaeventargs.cs
- PathData.cs
- TreeNode.cs
- TransportContext.cs
- CompilerScopeManager.cs
- ADConnectionHelper.cs
- HttpDebugHandler.cs
- HitTestParameters3D.cs
- SQLInt32.cs
- HierarchicalDataBoundControl.cs
- SignatureToken.cs
- ImageFormatConverter.cs
- ImageSourceValueSerializer.cs
- NameService.cs
- InstanceKey.cs
- MetadataWorkspace.cs
- SortDescription.cs
- SpellerError.cs
- VisualStateManager.cs
- CallbackHandler.cs
- ProviderUtil.cs
- WebPartCatalogCloseVerb.cs
- DynamicAttribute.cs
- Parameter.cs
- InvalidProgramException.cs
- StrongTypingException.cs
- ReadOnlyDictionary.cs
- DataBoundControlAdapter.cs
- ImageSource.cs
- VisualStyleElement.cs
- TextTreeObjectNode.cs
- Maps.cs
- DesignTimeTemplateParser.cs
- XPathNodeInfoAtom.cs
- DllNotFoundException.cs
- XamlGridLengthSerializer.cs
- SizeChangedInfo.cs
- DependencyProperty.cs
- MessageFormatterConverter.cs
- SiteMap.cs
- ModelServiceImpl.cs
- DocumentApplicationJournalEntry.cs
- Figure.cs
- DataControlPagerLinkButton.cs
- EventEntry.cs
- SqlPersonalizationProvider.cs
- PrintDialog.cs
- VSWCFServiceContractGenerator.cs
- GraphicsPathIterator.cs
- ProcessHostConfigUtils.cs
- TabControlDesigner.cs
- DataViewSetting.cs
- DbBuffer.cs
- SafeEventLogWriteHandle.cs
- EmptyStringExpandableObjectConverter.cs
- XsltFunctions.cs
- HealthMonitoringSectionHelper.cs
- DragDrop.cs
- ObjectPersistData.cs
- ServiceModelSecurityTokenTypes.cs
- FormatStringEditor.cs