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
- RefType.cs
- PageSetupDialog.cs
- EdmMember.cs
- Formatter.cs
- XmlSchemaSequence.cs
- AssemblyAssociatedContentFileAttribute.cs
- MimeMultiPart.cs
- RecommendedAsConfigurableAttribute.cs
- SqlDataSource.cs
- QueryContinueDragEvent.cs
- CodeIndexerExpression.cs
- TextServicesCompartment.cs
- SingleResultAttribute.cs
- DataReceivedEventArgs.cs
- Translator.cs
- TextEndOfLine.cs
- EncoderExceptionFallback.cs
- QuaternionAnimationBase.cs
- ManipulationStartedEventArgs.cs
- BuildManagerHost.cs
- BrowserCapabilitiesFactory35.cs
- WorkflowTraceTransfer.cs
- ColorContext.cs
- IfAction.cs
- DataControlCommands.cs
- CustomWebEventKey.cs
- AsyncCompletedEventArgs.cs
- SingleObjectCollection.cs
- ChannelTokenTypeConverter.cs
- FragmentQueryKB.cs
- MemberPath.cs
- ScriptControlDescriptor.cs
- BitmapEffectDrawingContent.cs
- PreviewPrintController.cs
- PathSegment.cs
- SoapExtensionImporter.cs
- XmlNodeReader.cs
- SystemFonts.cs
- DBSchemaRow.cs
- DesignerEditorPartChrome.cs
- TextParagraphView.cs
- KeyInstance.cs
- UniqueIdentifierService.cs
- CommandValueSerializer.cs
- StateDesigner.CommentLayoutGlyph.cs
- CopyAttributesAction.cs
- InvariantComparer.cs
- PropertyDescriptorGridEntry.cs
- OleDbPermission.cs
- TileModeValidation.cs
- nulltextcontainer.cs
- MemberInitExpression.cs
- FacetValues.cs
- UnsafeNetInfoNativeMethods.cs
- Identifier.cs
- PageCatalogPart.cs
- EventDescriptor.cs
- DatePicker.cs
- ImportCatalogPart.cs
- LinkButton.cs
- AppSettingsExpressionEditor.cs
- EventLog.cs
- DataGrid.cs
- XMLSyntaxException.cs
- AddInStore.cs
- NameTable.cs
- Part.cs
- HostProtectionPermission.cs
- PolygonHotSpot.cs
- ProxyGenerator.cs
- StructuredTypeEmitter.cs
- DefaultTextStoreTextComposition.cs
- GPPOINTF.cs
- RoleService.cs
- HierarchicalDataTemplate.cs
- SwitchCase.cs
- DataColumnMapping.cs
- DecimalAnimationBase.cs
- RelationshipEnd.cs
- SaveWorkflowAsyncResult.cs
- InputGestureCollection.cs
- EntityDataSourceSelectedEventArgs.cs
- Misc.cs
- GetCardDetailsRequest.cs
- SqlDataSourceCommandParser.cs
- BaseDataBoundControl.cs
- ObjectListItemCollection.cs
- MulticastOption.cs
- CodeLinePragma.cs
- ServicesSection.cs
- FtpCachePolicyElement.cs
- Font.cs
- DateTimeFormat.cs
- xmlsaver.cs
- BindingExpression.cs
- DesignerTransaction.cs
- ColumnProvider.cs
- XPathDocumentBuilder.cs
- BaseCAMarshaler.cs
- AttachedAnnotationChangedEventArgs.cs