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
- DateTime.cs
- StateMachineExecutionState.cs
- XmlNavigatorFilter.cs
- XmlEncodedRawTextWriter.cs
- DeviceContext.cs
- Control.cs
- Terminate.cs
- DefaultTraceListener.cs
- PolicyLevel.cs
- XPathQilFactory.cs
- UserInitiatedNavigationPermission.cs
- UmAlQuraCalendar.cs
- Compiler.cs
- InstanceCreationEditor.cs
- PlainXmlSerializer.cs
- CryptoApi.cs
- TimeSpan.cs
- MethodCallConverter.cs
- FormDocumentDesigner.cs
- LinearGradientBrush.cs
- DataExchangeServiceBinder.cs
- SR.cs
- OperatorExpressions.cs
- ChtmlImageAdapter.cs
- ObjectStorage.cs
- InlineCollection.cs
- DataGridToolTip.cs
- ShaderEffect.cs
- ISAPIRuntime.cs
- StylusDevice.cs
- ChangePassword.cs
- PenLineJoinValidation.cs
- RuntimeArgumentHandle.cs
- SerializationInfo.cs
- iisPickupDirectory.cs
- Image.cs
- BaseServiceProvider.cs
- CompilationLock.cs
- XmlTextEncoder.cs
- ServiceEndpoint.cs
- ClassHandlersStore.cs
- SerializableTypeCodeDomSerializer.cs
- CompletedAsyncResult.cs
- ListenerElementsCollection.cs
- SafeProcessHandle.cs
- CursorConverter.cs
- SamlConditions.cs
- UIElement3DAutomationPeer.cs
- XmlExceptionHelper.cs
- TextEndOfParagraph.cs
- ColorDialog.cs
- Calendar.cs
- HttpModuleActionCollection.cs
- RangeExpression.cs
- RegexCapture.cs
- DateTime.cs
- ToolStripItem.cs
- EntityContainerRelationshipSet.cs
- SettingsSection.cs
- ProcessInputEventArgs.cs
- PointLight.cs
- BrowserTree.cs
- sqlnorm.cs
- TemplateBamlRecordReader.cs
- NativeMethods.cs
- BrowserTree.cs
- OutputCacheProfileCollection.cs
- DesignerUtils.cs
- BufferedReadStream.cs
- BooleanSwitch.cs
- GiveFeedbackEventArgs.cs
- DoubleAverageAggregationOperator.cs
- ContainerSelectorGlyph.cs
- GraphicsPathIterator.cs
- AutoGeneratedFieldProperties.cs
- PanelStyle.cs
- DataAccessor.cs
- ActivityCodeDomReferenceService.cs
- DebugHandleTracker.cs
- AppSettingsExpressionBuilder.cs
- StateBag.cs
- FormViewDeleteEventArgs.cs
- SqlCacheDependencySection.cs
- UnsettableComboBox.cs
- VectorAnimationUsingKeyFrames.cs
- DrawTreeNodeEventArgs.cs
- GroupBox.cs
- ProjectionAnalyzer.cs
- TreeNodeCollection.cs
- PixelFormatConverter.cs
- ITreeGenerator.cs
- XmlMtomWriter.cs
- SharedStatics.cs
- UpdateDelegates.Generated.cs
- FrameworkObject.cs
- StorageEntityContainerMapping.cs
- CellQuery.cs
- PrintDialog.cs
- QualifiedCellIdBoolean.cs
- Pens.cs