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
- TextRangeEditTables.cs
- DataGridItemCollection.cs
- UnsafePeerToPeerMethods.cs
- ResourcesGenerator.cs
- XPathAxisIterator.cs
- PropertyOverridesTypeEditor.cs
- DetailsView.cs
- ConversionHelper.cs
- ItemCheckedEvent.cs
- UnmanagedMemoryStreamWrapper.cs
- TypographyProperties.cs
- ConnectionPoint.cs
- IssuedTokenServiceElement.cs
- CollectionChangeEventArgs.cs
- HttpProcessUtility.cs
- ConversionContext.cs
- WebPartDisplayMode.cs
- HyperLinkColumn.cs
- SecurityUtils.cs
- ExpressionBuilder.cs
- ZipIOLocalFileDataDescriptor.cs
- LineServicesCallbacks.cs
- CmsInterop.cs
- XmlAttributeOverrides.cs
- NativeMethods.cs
- XPathAncestorIterator.cs
- DomainConstraint.cs
- StylusSystemGestureEventArgs.cs
- SortKey.cs
- LineMetrics.cs
- UserInitiatedRoutedEventPermission.cs
- Deflater.cs
- EditorAttribute.cs
- SqlCacheDependency.cs
- COM2Properties.cs
- CustomAttributeBuilder.cs
- DataGridViewComboBoxColumnDesigner.cs
- TimelineCollection.cs
- TransformDescriptor.cs
- BlockUIContainer.cs
- HttpRuntime.cs
- StorageMappingItemLoader.cs
- ArgumentNullException.cs
- CaseInsensitiveHashCodeProvider.cs
- SessionStateItemCollection.cs
- XmlSchemaSubstitutionGroup.cs
- RSAOAEPKeyExchangeFormatter.cs
- DbDataSourceEnumerator.cs
- StrokeCollectionDefaultValueFactory.cs
- DataChangedEventManager.cs
- ResourceDefaultValueAttribute.cs
- ContextBase.cs
- MeasureData.cs
- TableTextElementCollectionInternal.cs
- DPAPIProtectedConfigurationProvider.cs
- EndpointAddress10.cs
- OleServicesContext.cs
- Matrix3DValueSerializer.cs
- MenuItem.cs
- BuilderElements.cs
- CommonServiceBehaviorElement.cs
- UseAttributeSetsAction.cs
- LinearGradientBrush.cs
- DBDataPermission.cs
- ClientSideProviderDescription.cs
- XmlWriterTraceListener.cs
- OrderedDictionary.cs
- EntityCollectionChangedParams.cs
- StringUtil.cs
- HandledEventArgs.cs
- ButtonStandardAdapter.cs
- ReadWriteSpinLock.cs
- XmlSchemaAttributeGroup.cs
- ContextProperty.cs
- HyperLink.cs
- DocumentViewerBaseAutomationPeer.cs
- WebResourceAttribute.cs
- MemberPathMap.cs
- ObjectContextServiceProvider.cs
- PolicyManager.cs
- TypedDataSetSchemaImporterExtension.cs
- DateTimeConstantAttribute.cs
- Document.cs
- XmlNamespaceManager.cs
- WebPartDisplayModeEventArgs.cs
- AnyReturnReader.cs
- DispatchWrapper.cs
- DataRelationPropertyDescriptor.cs
- GlyphsSerializer.cs
- SmiRecordBuffer.cs
- RowToFieldTransformer.cs
- ReturnValue.cs
- EventSetterHandlerConverter.cs
- CapabilitiesPattern.cs
- PointAnimationClockResource.cs
- NumberFormatInfo.cs
- DataServiceEntityAttribute.cs
- Error.cs
- ComplexBindingPropertiesAttribute.cs
- FixedFlowMap.cs