Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SymLanguageType.cs
- ToolstripProfessionalRenderer.cs
- Positioning.cs
- KnowledgeBase.cs
- ConnectAlgorithms.cs
- InvokePatternIdentifiers.cs
- DbBuffer.cs
- AnnotationObservableCollection.cs
- IconHelper.cs
- TabletDevice.cs
- ToolboxItemAttribute.cs
- Positioning.cs
- ControlBuilder.cs
- StylusPointCollection.cs
- StylusPointCollection.cs
- MsmqBindingFilter.cs
- CorePropertiesFilter.cs
- Int64Storage.cs
- WebPartsPersonalization.cs
- JournalNavigationScope.cs
- HandleExceptionArgs.cs
- ExpandSegment.cs
- InputLanguageEventArgs.cs
- Figure.cs
- InputLanguage.cs
- DefaultValueAttribute.cs
- Accessible.cs
- FactoryGenerator.cs
- WindowsFont.cs
- recordstatefactory.cs
- ColumnWidthChangedEvent.cs
- SafeRightsManagementSessionHandle.cs
- ExpressionEvaluator.cs
- TextPenaltyModule.cs
- SiteMapNodeCollection.cs
- XmlSchemaIdentityConstraint.cs
- Column.cs
- Adorner.cs
- NumberFunctions.cs
- DataTableMappingCollection.cs
- EditableLabelControl.cs
- TypeUtil.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SourceItem.cs
- Bitmap.cs
- RegexTree.cs
- DropShadowEffect.cs
- BindUriHelper.cs
- WindowVisualStateTracker.cs
- CustomLineCap.cs
- _NestedSingleAsyncResult.cs
- TextBoxAutomationPeer.cs
- PopOutPanel.cs
- TcpServerChannel.cs
- DrawingDrawingContext.cs
- SchemaCompiler.cs
- RestHandler.cs
- DtdParser.cs
- HtmlInputHidden.cs
- Evidence.cs
- SAPICategories.cs
- AssociatedControlConverter.cs
- XamlToRtfParser.cs
- Logging.cs
- FixedSOMPage.cs
- ConfigurationManagerHelper.cs
- ListViewCommandEventArgs.cs
- SessionStateContainer.cs
- NavigationProgressEventArgs.cs
- DataGridViewCellMouseEventArgs.cs
- ResourceExpressionBuilder.cs
- shaper.cs
- _NestedMultipleAsyncResult.cs
- SplayTreeNode.cs
- BinaryNode.cs
- Point4DValueSerializer.cs
- NamespaceList.cs
- NamespaceList.cs
- ParameterElement.cs
- CopyCodeAction.cs
- SqlUDTStorage.cs
- AppDomain.cs
- TypeInfo.cs
- OdbcTransaction.cs
- Setter.cs
- FixUpCollection.cs
- TextElementAutomationPeer.cs
- HttpDictionary.cs
- DataControlFieldHeaderCell.cs
- SizeLimitedCache.cs
- AppModelKnownContentFactory.cs
- NetworkCredential.cs
- SendMailErrorEventArgs.cs
- DropDownList.cs
- WindowsListViewItemStartMenu.cs
- AutomationElementIdentifiers.cs
- HttpProfileBase.cs
- StructureChangedEventArgs.cs
- SchemaObjectWriter.cs
- DbExpressionRules.cs