Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 1 / LocationUpdates.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { // // LocationUpdates contains all the updates that share the same location characteristics. // internal class LocationUpdates { OverrideModeSetting _overrideMode; bool _inheritInChildApps; SectionUpdates _sectionUpdates; // root of section internal LocationUpdates(OverrideModeSetting overrideMode, bool inheritInChildApps) { _overrideMode = overrideMode; _inheritInChildApps = inheritInChildApps; _sectionUpdates = new SectionUpdates(string.Empty); } internal OverrideModeSetting OverrideMode { get {return _overrideMode;} } internal bool InheritInChildApps { get {return _inheritInChildApps;} } internal SectionUpdates SectionUpdates { get {return _sectionUpdates;} } internal bool IsDefault { get { return _overrideMode.IsDefaultForLocationTag && _inheritInChildApps == true; } } internal void CompleteUpdates() { _sectionUpdates.CompleteUpdates(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { // // LocationUpdates contains all the updates that share the same location characteristics. // internal class LocationUpdates { OverrideModeSetting _overrideMode; bool _inheritInChildApps; SectionUpdates _sectionUpdates; // root of section internal LocationUpdates(OverrideModeSetting overrideMode, bool inheritInChildApps) { _overrideMode = overrideMode; _inheritInChildApps = inheritInChildApps; _sectionUpdates = new SectionUpdates(string.Empty); } internal OverrideModeSetting OverrideMode { get {return _overrideMode;} } internal bool InheritInChildApps { get {return _inheritInChildApps;} } internal SectionUpdates SectionUpdates { get {return _sectionUpdates;} } internal bool IsDefault { get { return _overrideMode.IsDefaultForLocationTag && _inheritInChildApps == true; } } internal void CompleteUpdates() { _sectionUpdates.CompleteUpdates(); } } } // 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
- CSharpCodeProvider.cs
- X509SecurityToken.cs
- FileDataSourceCache.cs
- FormsAuthenticationTicket.cs
- TableItemPatternIdentifiers.cs
- CellParaClient.cs
- SchemaManager.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- GeneralTransformCollection.cs
- StickyNoteContentControl.cs
- InternalSendMessage.cs
- cookiecollection.cs
- SudsParser.cs
- PopOutPanel.cs
- FormsAuthenticationUserCollection.cs
- SelfSignedCertificate.cs
- AutomationEvent.cs
- KeyedHashAlgorithm.cs
- MessageBox.cs
- LogManagementAsyncResult.cs
- SurrogateSelector.cs
- ProcessModuleCollection.cs
- BrowserCapabilitiesFactory.cs
- XmlILModule.cs
- MediaContextNotificationWindow.cs
- PngBitmapEncoder.cs
- Transform3DGroup.cs
- EventHandlersDesigner.cs
- DoubleAnimation.cs
- Quad.cs
- SafeCancelMibChangeNotify.cs
- ConfigurationManagerHelperFactory.cs
- UnicodeEncoding.cs
- Debug.cs
- DocumentPaginator.cs
- SemanticResultValue.cs
- WebServiceData.cs
- SQLDateTime.cs
- BoundPropertyEntry.cs
- BitFlagsGenerator.cs
- OleDbParameterCollection.cs
- TimeSpanConverter.cs
- IdentifierCollection.cs
- Content.cs
- KeyPullup.cs
- PagedDataSource.cs
- DatagramAdapter.cs
- ListChangedEventArgs.cs
- XmlSignatureProperties.cs
- InputReportEventArgs.cs
- DoubleLink.cs
- AspNetHostingPermission.cs
- QueryCacheManager.cs
- XPathConvert.cs
- EntityDataSourceWizardForm.cs
- DataConnectionHelper.cs
- Scanner.cs
- TextDecorationUnitValidation.cs
- BufferedReadStream.cs
- FileIOPermission.cs
- APCustomTypeDescriptor.cs
- AutomationTextAttribute.cs
- TraversalRequest.cs
- IisTraceListener.cs
- IpcClientManager.cs
- XsltSettings.cs
- DataGridToolTip.cs
- ProxyElement.cs
- WindowsListViewGroup.cs
- EndOfStreamException.cs
- PrintDialog.cs
- PhysicalOps.cs
- InvalidPrinterException.cs
- httpserverutility.cs
- DataRowChangeEvent.cs
- HttpConfigurationSystem.cs
- FixedSOMLineCollection.cs
- FixedSOMImage.cs
- BackgroundWorker.cs
- WebEncodingValidator.cs
- DispatcherEventArgs.cs
- ProxyElement.cs
- SyntaxCheck.cs
- PopupRootAutomationPeer.cs
- CodeExpressionCollection.cs
- BufferedReadStream.cs
- ToolStripItemEventArgs.cs
- _Rfc2616CacheValidators.cs
- VisualStyleInformation.cs
- TreeView.cs
- ByValueEqualityComparer.cs
- AttachmentCollection.cs
- RegexReplacement.cs
- ArgumentOutOfRangeException.cs
- AppSettingsReader.cs
- FloatUtil.cs
- UriParserTemplates.cs
- StringValueConverter.cs
- UserControl.cs
- DetailsViewPageEventArgs.cs