Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 1305376 / 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
- TemplateBindingExtensionConverter.cs
- SiteMapNodeItem.cs
- SiteMapHierarchicalDataSourceView.cs
- ApplicationFileParser.cs
- OleDbRowUpdatingEvent.cs
- AdjustableArrowCap.cs
- FixedTextBuilder.cs
- ListBoxAutomationPeer.cs
- CompilerParameters.cs
- ExpressionBuilder.cs
- WmpBitmapEncoder.cs
- XmlValueConverter.cs
- RegisteredDisposeScript.cs
- MemberInfoSerializationHolder.cs
- RadioButton.cs
- BindingCompleteEventArgs.cs
- ToolStripContentPanelRenderEventArgs.cs
- sqlmetadatafactory.cs
- PenContext.cs
- DiscoveryEndpoint.cs
- Privilege.cs
- GiveFeedbackEventArgs.cs
- SiblingIterators.cs
- SignerInfo.cs
- Style.cs
- ContentWrapperAttribute.cs
- SessionStateUtil.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataColumnMapping.cs
- SettingsSection.cs
- EntityDataSourceWrapperCollection.cs
- TextSelectionHelper.cs
- EdmPropertyAttribute.cs
- ScriptComponentDescriptor.cs
- EpmCustomContentSerializer.cs
- EnterpriseServicesHelper.cs
- XmlAttributes.cs
- PointHitTestParameters.cs
- SqlDataSourceFilteringEventArgs.cs
- DataGridTextColumn.cs
- SamlAudienceRestrictionCondition.cs
- MetadataArtifactLoaderComposite.cs
- IntegerValidatorAttribute.cs
- TouchDevice.cs
- SkinBuilder.cs
- DataControlReferenceCollection.cs
- MruCache.cs
- TextTreeExtractElementUndoUnit.cs
- InstanceData.cs
- WindowShowOrOpenTracker.cs
- OleDbRowUpdatingEvent.cs
- _HeaderInfo.cs
- TagPrefixInfo.cs
- COM2ComponentEditor.cs
- ValueUtilsSmi.cs
- GridErrorDlg.cs
- ConfigurationManagerHelper.cs
- HttpPostServerProtocol.cs
- FieldDescriptor.cs
- RelatedImageListAttribute.cs
- Header.cs
- __ComObject.cs
- _AutoWebProxyScriptEngine.cs
- InternalSafeNativeMethods.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- FunctionMappingTranslator.cs
- ExpressionConverter.cs
- WpfGeneratedKnownProperties.cs
- XslVisitor.cs
- XmlTextAttribute.cs
- ApplicationHost.cs
- AccessibleObject.cs
- WebPartTracker.cs
- XslCompiledTransform.cs
- HtmlHead.cs
- AnnotationComponentChooser.cs
- MergablePropertyAttribute.cs
- TypeDelegator.cs
- ConstantCheck.cs
- DataGridDesigner.cs
- ObjectQueryState.cs
- WebPartVerbsEventArgs.cs
- MultiSelectRootGridEntry.cs
- LoadGrammarCompletedEventArgs.cs
- HtmlInputText.cs
- RangeContentEnumerator.cs
- BamlLocalizabilityResolver.cs
- CookielessHelper.cs
- ExtractorMetadata.cs
- FrameworkTemplate.cs
- GroupDescription.cs
- ResourceDictionary.cs
- EventManager.cs
- StylusPointPropertyId.cs
- ToolStripSeparator.cs
- ToolStripArrowRenderEventArgs.cs
- ArrayTypeMismatchException.cs
- WebReference.cs
- EventHandlerList.cs
- HttpCacheVaryByContentEncodings.cs