Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 4 / 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
- EncoderParameters.cs
- StatusCommandUI.cs
- XPathPatternParser.cs
- LoginNameDesigner.cs
- CollectionView.cs
- XamlClipboardData.cs
- PropertyChangeTracker.cs
- RichTextBox.cs
- HitTestParameters.cs
- InstanceOwner.cs
- Point3DCollection.cs
- HtmlWindowCollection.cs
- SyndicationLink.cs
- XmlObjectSerializerContext.cs
- TimelineGroup.cs
- SqlDataSourceStatusEventArgs.cs
- WindowsFormsSynchronizationContext.cs
- XmlArrayItemAttributes.cs
- UrlMappingCollection.cs
- InvariantComparer.cs
- FixedTextPointer.cs
- IsolatedStorageFilePermission.cs
- TypedReference.cs
- ItemsPanelTemplate.cs
- Control.cs
- GridItemProviderWrapper.cs
- DocumentOrderComparer.cs
- ComponentConverter.cs
- SharedPersonalizationStateInfo.cs
- filewebrequest.cs
- NavigationWindow.cs
- MaskDesignerDialog.cs
- ValueType.cs
- WebMessageBodyStyleHelper.cs
- CacheEntry.cs
- LogArchiveSnapshot.cs
- WindowsTreeView.cs
- WorkflowValidationFailedException.cs
- BidPrivateBase.cs
- Model3DGroup.cs
- StyleSheetRefUrlEditor.cs
- ZipIOExtraFieldZip64Element.cs
- Binding.cs
- DataControlFieldCell.cs
- CodeDelegateInvokeExpression.cs
- UniqueIdentifierService.cs
- UrlRoutingHandler.cs
- IisTraceListener.cs
- DataGridViewColumnHeaderCell.cs
- printdlgexmarshaler.cs
- BaseCollection.cs
- OwnerDrawPropertyBag.cs
- PageThemeBuildProvider.cs
- HtmlUtf8RawTextWriter.cs
- TextLineBreak.cs
- IntegerFacetDescriptionElement.cs
- KeyEvent.cs
- GridSplitter.cs
- GenericIdentity.cs
- CompilerParameters.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- CryptoApi.cs
- WindowsStatic.cs
- KeyedHashAlgorithm.cs
- LineGeometry.cs
- Documentation.cs
- AdapterDictionary.cs
- DataGridColumn.cs
- DispatchWrapper.cs
- FixedPageStructure.cs
- CodeTypeReference.cs
- OrderedHashRepartitionEnumerator.cs
- ViewManager.cs
- Stopwatch.cs
- SystemIPAddressInformation.cs
- DiagnosticTraceSource.cs
- OdbcException.cs
- LocalizableResourceBuilder.cs
- _FtpDataStream.cs
- SmiMetaDataProperty.cs
- XamlPoint3DCollectionSerializer.cs
- Table.cs
- NameTable.cs
- ObjectStorage.cs
- ResourceKey.cs
- designeractionlistschangedeventargs.cs
- SortDescription.cs
- Line.cs
- OpenFileDialog.cs
- SizeAnimationBase.cs
- QilParameter.cs
- Flattener.cs
- GifBitmapEncoder.cs
- CollectionContainer.cs
- ToolStripLocationCancelEventArgs.cs
- MonitoringDescriptionAttribute.cs
- WmpBitmapEncoder.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- XamlFigureLengthSerializer.cs
- TextServicesProperty.cs