Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 4 / 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
- TagNameToTypeMapper.cs
- TypeConvertions.cs
- UriTemplateVariablePathSegment.cs
- MsmqPoisonMessageException.cs
- xamlnodes.cs
- IDReferencePropertyAttribute.cs
- EventSinkHelperWriter.cs
- BinaryMethodMessage.cs
- StreamGeometry.cs
- Focus.cs
- SystemWebSectionGroup.cs
- ThrowHelper.cs
- FontStyle.cs
- Int64Converter.cs
- DbConnectionPoolIdentity.cs
- ValidatingPropertiesEventArgs.cs
- Utils.cs
- Scheduler.cs
- GZipStream.cs
- Pkcs9Attribute.cs
- ModelPropertyImpl.cs
- VectorAnimationBase.cs
- Int32KeyFrameCollection.cs
- RouteItem.cs
- PageRanges.cs
- TagMapInfo.cs
- FontStretch.cs
- EntityProviderFactory.cs
- SafeRightsManagementSessionHandle.cs
- OpCopier.cs
- InstancePersistenceEvent.cs
- ADMembershipProvider.cs
- EventData.cs
- DataGridView.cs
- NameNode.cs
- HttpAsyncResult.cs
- StrokeIntersection.cs
- HttpModuleAction.cs
- WebPartConnectionsCancelEventArgs.cs
- SiteMapNodeItem.cs
- OdbcPermission.cs
- WebHostUnsafeNativeMethods.cs
- ConfigurationSectionHelper.cs
- LocalBuilder.cs
- ObjectDataSourceSelectingEventArgs.cs
- WindowsIPAddress.cs
- TextServicesDisplayAttribute.cs
- StyleSheetRefUrlEditor.cs
- PersistenceTypeAttribute.cs
- UpdatePanelControlTrigger.cs
- Compiler.cs
- PreviewPrintController.cs
- Utils.cs
- GroupBoxAutomationPeer.cs
- StrongName.cs
- ContentPlaceHolder.cs
- PublisherMembershipCondition.cs
- HiddenField.cs
- DetailsViewCommandEventArgs.cs
- Timeline.cs
- GridPatternIdentifiers.cs
- PropertyChange.cs
- DataGridTablesFactory.cs
- HashJoinQueryOperatorEnumerator.cs
- FrameAutomationPeer.cs
- LinearKeyFrames.cs
- ZipIOCentralDirectoryBlock.cs
- DataGridToolTip.cs
- ApplicationDirectory.cs
- StackSpiller.cs
- HttpApplicationFactory.cs
- FontCacheUtil.cs
- SwitchAttribute.cs
- ClientType.cs
- PointAnimationBase.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- dataprotectionpermissionattribute.cs
- WebCategoryAttribute.cs
- ProfileSection.cs
- XmlLoader.cs
- StylusPointDescription.cs
- Typeface.cs
- URLIdentityPermission.cs
- ContractHandle.cs
- LifetimeServices.cs
- DetailsViewUpdateEventArgs.cs
- DBConnection.cs
- ObjectViewListener.cs
- CriticalFinalizerObject.cs
- UserValidatedEventArgs.cs
- LessThanOrEqual.cs
- HeaderedItemsControl.cs
- SessionIDManager.cs
- EngineSiteSapi.cs
- DetailsViewCommandEventArgs.cs
- WindowsProgressbar.cs
- DebugController.cs
- CharUnicodeInfo.cs
- RenderingBiasValidation.cs
- ArcSegment.cs