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
- IsolatedStoragePermission.cs
- storepermissionattribute.cs
- TreeNodeCollectionEditor.cs
- SubpageParaClient.cs
- Converter.cs
- KeyValuePair.cs
- EventWaitHandle.cs
- CompositeScriptReference.cs
- TableLayoutPanelDesigner.cs
- ProviderCommandInfoUtils.cs
- WebSysDescriptionAttribute.cs
- FixedHyperLink.cs
- Wildcard.cs
- ValueUtilsSmi.cs
- ControlHelper.cs
- ZipIOExtraFieldElement.cs
- CodeAccessPermission.cs
- Command.cs
- ProviderCollection.cs
- DateTimeStorage.cs
- TextureBrush.cs
- XmlSignificantWhitespace.cs
- MetaType.cs
- ToolStripStatusLabel.cs
- Dynamic.cs
- PseudoWebRequest.cs
- Utils.cs
- BamlRecordHelper.cs
- TrackingLocationCollection.cs
- WebPartAuthorizationEventArgs.cs
- AutoGeneratedFieldProperties.cs
- GroupItemAutomationPeer.cs
- HttpRequest.cs
- XamlStream.cs
- HttpFileCollectionBase.cs
- Int16.cs
- FamilyMapCollection.cs
- Margins.cs
- CachedPathData.cs
- infer.cs
- SectionInformation.cs
- figurelengthconverter.cs
- SelectionEditingBehavior.cs
- ThreadStartException.cs
- CodeCommentStatementCollection.cs
- ButtonFlatAdapter.cs
- EventSinkHelperWriter.cs
- CodeRemoveEventStatement.cs
- Confirm.cs
- ParameterReplacerVisitor.cs
- SiteOfOriginContainer.cs
- MessageLogTraceRecord.cs
- SafeLibraryHandle.cs
- Configuration.cs
- DataGridViewButtonColumn.cs
- _AutoWebProxyScriptHelper.cs
- AssociationType.cs
- NativeMethods.cs
- SystemUnicastIPAddressInformation.cs
- XmlSchemaSet.cs
- MimeFormatter.cs
- TripleDESCryptoServiceProvider.cs
- DbInsertCommandTree.cs
- DataGridViewRowCancelEventArgs.cs
- PolyLineSegment.cs
- UIElement.cs
- ViewStateException.cs
- WindowsAuthenticationModule.cs
- ApplicationBuildProvider.cs
- NameGenerator.cs
- ProtocolsConfigurationEntry.cs
- EditorPartCollection.cs
- TraceContextRecord.cs
- Merger.cs
- ManagementObjectSearcher.cs
- DefaultPropertyAttribute.cs
- SelectionRangeConverter.cs
- ComPlusContractBehavior.cs
- SelectionItemPattern.cs
- ServicePointManagerElement.cs
- TraceContext.cs
- ObfuscateAssemblyAttribute.cs
- NotifyInputEventArgs.cs
- KeyValueConfigurationElement.cs
- Typeface.cs
- DrawItemEvent.cs
- ClientSponsor.cs
- DialogWindow.cs
- hebrewshape.cs
- MarkupExtensionParser.cs
- ButtonChrome.cs
- ImageSource.cs
- FunctionNode.cs
- SiteMapProvider.cs
- Baml2006ReaderContext.cs
- ServiceReference.cs
- ProvidePropertyAttribute.cs
- SizeConverter.cs
- ToolboxCategory.cs
- COAUTHINFO.cs