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
- FormViewActionList.cs
- DataProtection.cs
- RenderDataDrawingContext.cs
- CodeArrayCreateExpression.cs
- KeyInfo.cs
- Span.cs
- PropertyDescriptor.cs
- AlignmentYValidation.cs
- PTUtility.cs
- mediaclock.cs
- selecteditemcollection.cs
- WebPartConnectionsConnectVerb.cs
- FileChangesMonitor.cs
- IndexExpression.cs
- VScrollBar.cs
- XPathParser.cs
- ListenerElementsCollection.cs
- TaskFileService.cs
- XmlSchemaSimpleContentExtension.cs
- cookiecontainer.cs
- DbConnectionClosed.cs
- BitmapEffectInput.cs
- XslCompiledTransform.cs
- MarkupObject.cs
- EntityDataSourceState.cs
- PlaceHolder.cs
- Schema.cs
- DataObjectMethodAttribute.cs
- StatusStrip.cs
- LogPolicy.cs
- DesignerActionHeaderItem.cs
- AbstractDataSvcMapFileLoader.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- WindowProviderWrapper.cs
- TaskForm.cs
- BooleanAnimationBase.cs
- ForeignConstraint.cs
- UrlAuthorizationModule.cs
- EventPrivateKey.cs
- ContractsBCL.cs
- SecurityRuntime.cs
- RolePrincipal.cs
- ThicknessAnimationBase.cs
- DBConnectionString.cs
- InternalBase.cs
- GridProviderWrapper.cs
- UpDownEvent.cs
- SelectedGridItemChangedEvent.cs
- PrintingPermission.cs
- SemanticKeyElement.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- JavascriptCallbackResponseProperty.cs
- ExeConfigurationFileMap.cs
- FormClosedEvent.cs
- sqlinternaltransaction.cs
- MemberJoinTreeNode.cs
- listitem.cs
- XComponentModel.cs
- InvalidWMPVersionException.cs
- ReaderContextStackData.cs
- PointUtil.cs
- SyndicationCategory.cs
- PermissionToken.cs
- CatalogPartCollection.cs
- GPRECTF.cs
- HttpHostedTransportConfiguration.cs
- MaskInputRejectedEventArgs.cs
- DocumentReference.cs
- Int16.cs
- ClickablePoint.cs
- EntityAdapter.cs
- GenericWebPart.cs
- PageThemeParser.cs
- FixedTextBuilder.cs
- FixedTextView.cs
- TypeSystem.cs
- FontStretches.cs
- CommandBindingCollection.cs
- KeyGesture.cs
- MessageSmuggler.cs
- SourceElementsCollection.cs
- ComponentChangingEvent.cs
- BitmapMetadataEnumerator.cs
- COM2ComponentEditor.cs
- FixedFindEngine.cs
- IntSecurity.cs
- CookielessHelper.cs
- AsymmetricSignatureDeformatter.cs
- ManagementOptions.cs
- parserscommon.cs
- SqlDataSourceCache.cs
- DialogDivider.cs
- JsonFaultDetail.cs
- Roles.cs
- EditingCommands.cs
- SHA384.cs
- RadioButtonPopupAdapter.cs
- Inline.cs
- DSACryptoServiceProvider.cs
- GridItemProviderWrapper.cs