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
- PrinterSettings.cs
- EntityDataSourceChangingEventArgs.cs
- GroupBoxRenderer.cs
- InputProcessorProfiles.cs
- SplineQuaternionKeyFrame.cs
- References.cs
- DocumentSequence.cs
- DataSysAttribute.cs
- ParagraphResult.cs
- SqlRowUpdatingEvent.cs
- XmlNode.cs
- Border.cs
- SafeTimerHandle.cs
- SqlWriter.cs
- HyperLink.cs
- Int32AnimationUsingKeyFrames.cs
- DesignerActionGlyph.cs
- SoapServerProtocol.cs
- GiveFeedbackEventArgs.cs
- ActivationServices.cs
- ClassHandlersStore.cs
- XmlSchemaAnyAttribute.cs
- PowerModeChangedEventArgs.cs
- DefaultPropertyAttribute.cs
- Converter.cs
- ItemType.cs
- FixedHighlight.cs
- _SpnDictionary.cs
- ExtensionSimplifierMarkupObject.cs
- BindingMAnagerBase.cs
- Monitor.cs
- ConfigurationSection.cs
- BitmapEditor.cs
- DesignerAttribute.cs
- PagePropertiesChangingEventArgs.cs
- RuleRefElement.cs
- AnnotationComponentManager.cs
- ProjectionCamera.cs
- WebBrowserBase.cs
- DataGridViewRow.cs
- StartUpEventArgs.cs
- DataGridColumnCollection.cs
- HelpInfo.cs
- Rectangle.cs
- QilLiteral.cs
- RawMouseInputReport.cs
- DesignerForm.cs
- EmptyStringExpandableObjectConverter.cs
- ImageDesigner.cs
- MergeFilterQuery.cs
- AutoResetEvent.cs
- XamlInt32CollectionSerializer.cs
- precedingquery.cs
- LinqDataSourceView.cs
- TraceUtils.cs
- PriorityItem.cs
- StylusPointProperty.cs
- SafeRightsManagementSessionHandle.cs
- Model3DGroup.cs
- HScrollBar.cs
- ValueUnavailableException.cs
- OleDbWrapper.cs
- AssemblyFilter.cs
- ImageAutomationPeer.cs
- AtlasWeb.Designer.cs
- StrokeDescriptor.cs
- HttpListenerRequest.cs
- WebEventTraceProvider.cs
- RootBuilder.cs
- ImageButton.cs
- NonClientArea.cs
- WebHeaderCollection.cs
- ListViewPagedDataSource.cs
- ComboBoxRenderer.cs
- ProvideValueServiceProvider.cs
- DataBoundControl.cs
- InstanceDataCollectionCollection.cs
- ScriptMethodAttribute.cs
- DiscoveryDocumentSerializer.cs
- DataBoundControlAdapter.cs
- WebCategoryAttribute.cs
- NamedPipeActivation.cs
- ResXFileRef.cs
- InvalidWMPVersionException.cs
- ContextMenuAutomationPeer.cs
- ResourceCategoryAttribute.cs
- ScalarOps.cs
- DES.cs
- OrthographicCamera.cs
- Hex.cs
- DataGridViewHeaderCell.cs
- MultiTrigger.cs
- EnvelopedPkcs7.cs
- CodeDelegateInvokeExpression.cs
- AccessViolationException.cs
- SpecialNameAttribute.cs
- XmlAttributes.cs
- DetailsViewModeEventArgs.cs
- UnionExpr.cs
- TraceData.cs