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
- Transform3DGroup.cs
- SchemaObjectWriter.cs
- Page.cs
- NullReferenceException.cs
- MexNamedPipeBindingElement.cs
- TimeStampChecker.cs
- MapPathBasedVirtualPathProvider.cs
- DesignerView.xaml.cs
- Attributes.cs
- IPCCacheManager.cs
- KeyFrames.cs
- BindingMAnagerBase.cs
- TaiwanCalendar.cs
- XmlQueryType.cs
- SourceFileInfo.cs
- Brushes.cs
- DbModificationCommandTree.cs
- QueryStringParameter.cs
- BindingOperations.cs
- Pair.cs
- StreamReader.cs
- BroadcastEventHelper.cs
- versioninfo.cs
- RecognizerInfo.cs
- ObjectTag.cs
- SHA256Managed.cs
- DbTransaction.cs
- Regex.cs
- HttpWebResponse.cs
- JsonQNameDataContract.cs
- SmtpClient.cs
- PolicyStatement.cs
- MessageBox.cs
- PropertyConverter.cs
- CollectionContainer.cs
- DesigntimeLicenseContextSerializer.cs
- ClientUtils.cs
- IdentityReference.cs
- XmlSchemaInclude.cs
- MessagePropertyDescriptionCollection.cs
- EncryptedXml.cs
- ChildDocumentBlock.cs
- BufferedConnection.cs
- AutoSizeComboBox.cs
- TemplateField.cs
- Mutex.cs
- SchemaNamespaceManager.cs
- RectValueSerializer.cs
- XmlTextReaderImpl.cs
- BinaryFormatter.cs
- Brush.cs
- ImageSource.cs
- GenericAuthenticationEventArgs.cs
- StyleHelper.cs
- UIElementAutomationPeer.cs
- SettingsPropertyNotFoundException.cs
- XmlAnyAttributeAttribute.cs
- InkCanvas.cs
- Point.cs
- ValidatorCollection.cs
- Timeline.cs
- ShapeTypeface.cs
- TypeDescriptionProviderAttribute.cs
- DrawingContext.cs
- XmlSchemaException.cs
- ReturnEventArgs.cs
- PlaceHolder.cs
- UInt64.cs
- AnnotationAdorner.cs
- ImageListStreamer.cs
- IResourceProvider.cs
- FormsAuthenticationModule.cs
- Timer.cs
- DataFormats.cs
- WindowsToolbarAsMenu.cs
- EventPrivateKey.cs
- ImageBrush.cs
- SqlNotificationRequest.cs
- DeviceSpecificDialogCachedState.cs
- SerializerWriterEventHandlers.cs
- DesignerVerb.cs
- PrintDialog.cs
- RijndaelManaged.cs
- ResXDataNode.cs
- mongolianshape.cs
- ListViewSelectEventArgs.cs
- DictionaryBase.cs
- SettingsPropertyValue.cs
- CollectionTypeElement.cs
- Executor.cs
- PathParser.cs
- TextParagraphView.cs
- RegistrationServices.cs
- EntityCodeGenerator.cs
- ValueConversionAttribute.cs
- HttpListenerRequest.cs
- ObsoleteAttribute.cs
- WmlImageAdapter.cs
- ApplicationBuildProvider.cs
- DrawingGroup.cs