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
- GlobalProxySelection.cs
- Processor.cs
- recordstatescratchpad.cs
- StaticContext.cs
- StyleReferenceConverter.cs
- DelegateBodyWriter.cs
- XmlReturnWriter.cs
- TreeWalker.cs
- ContextMenu.cs
- RotationValidation.cs
- GridViewRowCollection.cs
- SeverityFilter.cs
- DLinqColumnProvider.cs
- ToolStripDropDownClosingEventArgs.cs
- MouseGestureConverter.cs
- MarkedHighlightComponent.cs
- AttachmentService.cs
- ItemsControlAutomationPeer.cs
- DoubleCollection.cs
- TransactionFlowProperty.cs
- AspNetSynchronizationContext.cs
- SqlEnums.cs
- ControlEvent.cs
- TcpServerChannel.cs
- Compilation.cs
- DataRowIndexBuffer.cs
- HtmlGenericControl.cs
- HtmlFormParameterWriter.cs
- IDispatchConstantAttribute.cs
- InputBindingCollection.cs
- NetCodeGroup.cs
- ToolStripTemplateNode.cs
- CodeCastExpression.cs
- WebSysDisplayNameAttribute.cs
- QilXmlReader.cs
- DataGridItemEventArgs.cs
- PrintDialog.cs
- XmlLoader.cs
- RegexEditorDialog.cs
- OpenTypeLayoutCache.cs
- CodeGenerationManager.cs
- X509Extension.cs
- StringPropertyBuilder.cs
- DataView.cs
- ConstraintStruct.cs
- PublishLicense.cs
- LocalizableAttribute.cs
- RequestUriProcessor.cs
- UrlAuthFailedErrorFormatter.cs
- MobileControlDesigner.cs
- FontDriver.cs
- Calendar.cs
- DataGridViewRowsAddedEventArgs.cs
- BooleanKeyFrameCollection.cs
- MetadataHelper.cs
- ThrowHelper.cs
- PageFunction.cs
- QueryPrefixOp.cs
- ContainerAction.cs
- ServiceOperationWrapper.cs
- CodeDelegateCreateExpression.cs
- WebMessageEncodingElement.cs
- FormViewDeleteEventArgs.cs
- HandledEventArgs.cs
- Schema.cs
- DbMetaDataFactory.cs
- RenderDataDrawingContext.cs
- ImportContext.cs
- SplineQuaternionKeyFrame.cs
- PageContent.cs
- NonSerializedAttribute.cs
- RepeatButtonAutomationPeer.cs
- ToolStripDropDownClosedEventArgs.cs
- ClientData.cs
- CatalogZoneDesigner.cs
- ISFClipboardData.cs
- StyleCollectionEditor.cs
- Renderer.cs
- DescendantBaseQuery.cs
- DataGridViewRowsAddedEventArgs.cs
- LayoutEditorPart.cs
- BindValidator.cs
- XmlEncodedRawTextWriter.cs
- HttpCookiesSection.cs
- SetStoryboardSpeedRatio.cs
- MDIWindowDialog.cs
- RtfToXamlReader.cs
- LinkButton.cs
- PrintPreviewGraphics.cs
- ToolStripDropDownItem.cs
- SequentialOutput.cs
- DesignerTransaction.cs
- InvokeProviderWrapper.cs
- XmlSchemaNotation.cs
- ToolboxComponentsCreatingEventArgs.cs
- Statements.cs
- SystemIcmpV4Statistics.cs
- MailHeaderInfo.cs
- PlatformNotSupportedException.cs
- ValueTypeFixupInfo.cs