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
- Activator.cs
- DetailsViewDeleteEventArgs.cs
- LoggedException.cs
- MessageBox.cs
- arclist.cs
- DataObjectFieldAttribute.cs
- ErrorProvider.cs
- Error.cs
- ClientApiGenerator.cs
- DataAccessor.cs
- FontSizeConverter.cs
- AppLevelCompilationSectionCache.cs
- DefaultEvaluationContext.cs
- EntityTypeEmitter.cs
- AffineTransform3D.cs
- DiffuseMaterial.cs
- EntityException.cs
- DataGridCell.cs
- XmlDocumentFragment.cs
- Registration.cs
- ExtendedProperty.cs
- TrustSection.cs
- grammarelement.cs
- PhysicalFontFamily.cs
- ProgressBarBrushConverter.cs
- ConstraintStruct.cs
- WebPartExportVerb.cs
- WorkflowTimerService.cs
- Part.cs
- DbMetaDataColumnNames.cs
- EventlogProvider.cs
- XslCompiledTransform.cs
- NameTable.cs
- SendContent.cs
- LowerCaseStringConverter.cs
- BitmapPalettes.cs
- StatusBarDrawItemEvent.cs
- RuntimeEnvironment.cs
- LayoutUtils.cs
- FontFamilyValueSerializer.cs
- WindowsHyperlink.cs
- StorageEntityContainerMapping.cs
- XmlILModule.cs
- MoveSizeWinEventHandler.cs
- AsyncOperationManager.cs
- PeerApplicationLaunchInfo.cs
- ParameterCollection.cs
- __Error.cs
- LinqDataSourceSelectEventArgs.cs
- TextServicesLoader.cs
- DefaultValueAttribute.cs
- LocalizabilityAttribute.cs
- SqlCachedBuffer.cs
- DescendantOverDescendantQuery.cs
- XamlTemplateSerializer.cs
- QilFactory.cs
- ZeroOpNode.cs
- WCFBuildProvider.cs
- EncoderFallback.cs
- DataGridComboBoxColumn.cs
- HwndSubclass.cs
- DescriptionAttribute.cs
- ListViewContainer.cs
- Page.cs
- TypeHelper.cs
- TypeInitializationException.cs
- UsernameTokenFactoryCredential.cs
- CustomError.cs
- InlineUIContainer.cs
- KeyValuePair.cs
- RawTextInputReport.cs
- ChannelServices.cs
- RegexGroupCollection.cs
- InvalidDataException.cs
- PackWebRequestFactory.cs
- LayoutEditorPart.cs
- SqlUtil.cs
- UInt64Converter.cs
- Component.cs
- _Semaphore.cs
- SessionStateModule.cs
- BindingContext.cs
- RenderCapability.cs
- DataFormat.cs
- FilterableAttribute.cs
- XmlNamespaceMappingCollection.cs
- OciEnlistContext.cs
- UserControlParser.cs
- _ListenerRequestStream.cs
- HyperLinkColumn.cs
- PriorityQueue.cs
- TagMapCollection.cs
- FileSecurity.cs
- OutputCacheSection.cs
- _SpnDictionary.cs
- ClientTargetSection.cs
- FileChangesMonitor.cs
- CommandHelpers.cs
- WebPartVerb.cs
- RemoveStoryboard.cs