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
- XmlNavigatorFilter.cs
- TextDpi.cs
- TaskHelper.cs
- figurelengthconverter.cs
- OutputWindow.cs
- OdbcDataAdapter.cs
- FakeModelPropertyImpl.cs
- TreeSet.cs
- NegotiationTokenProvider.cs
- DataGridViewLayoutData.cs
- IgnoreSection.cs
- XamlTypeMapper.cs
- PrimitiveXmlSerializers.cs
- RightsManagementEncryptionTransform.cs
- ColorComboBox.cs
- LogEntryDeserializer.cs
- DbExpressionBuilder.cs
- DbConnectionPool.cs
- DataGridPagingPage.cs
- MD5CryptoServiceProvider.cs
- SerializationSectionGroup.cs
- SetUserLanguageRequest.cs
- MessageHeaders.cs
- ExeConfigurationFileMap.cs
- XmlSignatureManifest.cs
- RegistryExceptionHelper.cs
- MediaContext.cs
- TypeUtil.cs
- UriParserTemplates.cs
- DocumentPaginator.cs
- DrawingAttributeSerializer.cs
- ACL.cs
- DataColumnPropertyDescriptor.cs
- UniqueEventHelper.cs
- DbConnectionHelper.cs
- AdjustableArrowCap.cs
- DeadCharTextComposition.cs
- WpfPayload.cs
- LabelLiteral.cs
- AutomationPatternInfo.cs
- DrawingAttributesDefaultValueFactory.cs
- StringInfo.cs
- XmlSchemaIdentityConstraint.cs
- Focus.cs
- DbCommandDefinition.cs
- ToolStripSplitStackLayout.cs
- MenuScrollingVisibilityConverter.cs
- Int32RectValueSerializer.cs
- DataMisalignedException.cs
- ObjectMemberMapping.cs
- PropertyTab.cs
- InheritanceContextHelper.cs
- DbDataReader.cs
- IItemContainerGenerator.cs
- CFGGrammar.cs
- ToolStripRendererSwitcher.cs
- QuaternionAnimationBase.cs
- DbDataRecord.cs
- TcpWorkerProcess.cs
- String.cs
- XmlSchemaElement.cs
- RegionData.cs
- CallTemplateAction.cs
- LinkTarget.cs
- BitmapEditor.cs
- WindowsToolbarAsMenu.cs
- Size3D.cs
- DBSchemaRow.cs
- MemberAccessException.cs
- ContentType.cs
- Control.cs
- IncrementalCompileAnalyzer.cs
- RightsManagementEncryptedStream.cs
- Switch.cs
- CalendarTable.cs
- CommunicationObject.cs
- HtmlInputFile.cs
- DelimitedListTraceListener.cs
- Validator.cs
- MsmqHostedTransportManager.cs
- BitmapSourceSafeMILHandle.cs
- documentsequencetextpointer.cs
- MetadataItemEmitter.cs
- LoadWorkflowAsyncResult.cs
- BufferedStream.cs
- ToolBarOverflowPanel.cs
- ConfigUtil.cs
- RecordsAffectedEventArgs.cs
- _SpnDictionary.cs
- XmlQueryRuntime.cs
- DispatcherProcessingDisabled.cs
- TabletDeviceInfo.cs
- ZipFileInfoCollection.cs
- Focus.cs
- QilScopedVisitor.cs
- Convert.cs
- HealthMonitoringSectionHelper.cs
- RootBrowserWindowProxy.cs
- ProfileGroupSettings.cs
- SystemBrushes.cs