Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 1305376 / 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
- SqlBinder.cs
- Quaternion.cs
- TextWriterTraceListener.cs
- StreamWriter.cs
- PointValueSerializer.cs
- PropertyIDSet.cs
- ClientSideQueueItem.cs
- TaiwanCalendar.cs
- WebServiceReceive.cs
- ObjectListDesigner.cs
- MaskedTextBoxDesigner.cs
- MessageHeaderDescriptionCollection.cs
- ToolStripPanelCell.cs
- DocumentViewer.cs
- HScrollBar.cs
- SqlCacheDependencyDatabaseCollection.cs
- unsafenativemethodstextservices.cs
- QueryPageSettingsEventArgs.cs
- JsonUriDataContract.cs
- XmlSerializerAssemblyAttribute.cs
- PresentationAppDomainManager.cs
- TextServicesPropertyRanges.cs
- MetafileHeaderEmf.cs
- XsltArgumentList.cs
- PreviewPrintController.cs
- ScriptControlManager.cs
- XpsManager.cs
- DisplayNameAttribute.cs
- MarkedHighlightComponent.cs
- ListComponentEditor.cs
- _ConnectionGroup.cs
- ConfigXmlDocument.cs
- AttributedMetaModel.cs
- MaskInputRejectedEventArgs.cs
- PasswordDeriveBytes.cs
- Trigger.cs
- HtmlCalendarAdapter.cs
- HtmlShim.cs
- AssociationSetMetadata.cs
- RuntimeConfigLKG.cs
- XmlSignatureManifest.cs
- ScriptingRoleServiceSection.cs
- XPathException.cs
- WorkflowRuntimeElement.cs
- DataList.cs
- WebPartZoneBase.cs
- ControlCachePolicy.cs
- ContentElementAutomationPeer.cs
- InteropAutomationProvider.cs
- _SafeNetHandles.cs
- CachedPathData.cs
- SQlBooleanStorage.cs
- ExceptionRoutedEventArgs.cs
- EntitySetBaseCollection.cs
- Merger.cs
- UnsafeNativeMethods.cs
- AppliedDeviceFiltersEditor.cs
- CounterSet.cs
- MediaPlayer.cs
- TargetControlTypeAttribute.cs
- ServiceObjectContainer.cs
- XmlSecureResolver.cs
- HebrewNumber.cs
- ButtonPopupAdapter.cs
- UITypeEditor.cs
- ObjectDataSource.cs
- BindUriHelper.cs
- FullTrustAssembliesSection.cs
- DragStartedEventArgs.cs
- recordstatescratchpad.cs
- PolicyValidationException.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- WebControlAdapter.cs
- MediaElementAutomationPeer.cs
- WeakReference.cs
- AQNBuilder.cs
- DSASignatureFormatter.cs
- CAGDesigner.cs
- Control.cs
- CodeDelegateInvokeExpression.cs
- FilterException.cs
- FileDialogCustomPlacesCollection.cs
- MessageBox.cs
- NonVisualControlAttribute.cs
- ScrollBar.cs
- OneOfConst.cs
- Point4DConverter.cs
- ExtensionDataObject.cs
- DSASignatureDeformatter.cs
- PeerApplicationLaunchInfo.cs
- ValueTypeIndexerReference.cs
- QueueTransferProtocol.cs
- AlternateViewCollection.cs
- HttpModuleAction.cs
- CollectionDataContract.cs
- LocatorManager.cs
- ScrollChangedEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- Relationship.cs
- TaskDesigner.cs