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
- StrongNameIdentityPermission.cs
- KeyboardEventArgs.cs
- RuleSetBrowserDialog.cs
- WeakReference.cs
- BrowserDefinition.cs
- XmlBufferedByteStreamReader.cs
- SafeNativeMethods.cs
- WindowsPrincipal.cs
- XmlSchemaSimpleContentExtension.cs
- SpotLight.cs
- RepeatInfo.cs
- Formatter.cs
- BaseParagraph.cs
- MarshalDirectiveException.cs
- SmtpMail.cs
- WindowProviderWrapper.cs
- WebPartDisplayModeEventArgs.cs
- FormViewUpdateEventArgs.cs
- EntityTypeBase.cs
- DSACryptoServiceProvider.cs
- MD5HashHelper.cs
- IDispatchConstantAttribute.cs
- WebPartTracker.cs
- NameValueFileSectionHandler.cs
- ToolStripItemBehavior.cs
- WorkflowMarkupSerializerMapping.cs
- ExpressionPrefixAttribute.cs
- PeerCollaboration.cs
- DataGridViewSelectedRowCollection.cs
- EnumValAlphaComparer.cs
- NavigationFailedEventArgs.cs
- PlainXmlSerializer.cs
- SchemaTypeEmitter.cs
- DataFormats.cs
- HttpVersion.cs
- TransactionProtocol.cs
- DropShadowBitmapEffect.cs
- DynamicResourceExtensionConverter.cs
- TimersDescriptionAttribute.cs
- GridViewSortEventArgs.cs
- PageVisual.cs
- VoiceObjectToken.cs
- MDIControlStrip.cs
- DefaultTraceListener.cs
- SystemIPInterfaceStatistics.cs
- SQLInt64.cs
- WindowCollection.cs
- KeyboardEventArgs.cs
- SpeechDetectedEventArgs.cs
- GeneralTransform3DTo2D.cs
- ModelUIElement3D.cs
- DataGridViewColumnHeaderCell.cs
- UserMapPath.cs
- AddressUtility.cs
- RegexTypeEditor.cs
- HtmlDocument.cs
- OutputCacheSettingsSection.cs
- SystemEvents.cs
- InternalException.cs
- ContractInferenceHelper.cs
- ImageSource.cs
- ProfileParameter.cs
- MeasureItemEvent.cs
- WindowHideOrCloseTracker.cs
- GenericQueueSurrogate.cs
- ComponentSerializationService.cs
- RowToParametersTransformer.cs
- DataBoundControlHelper.cs
- CFStream.cs
- JulianCalendar.cs
- webbrowsersite.cs
- PackUriHelper.cs
- CreateUserWizardStep.cs
- DecimalAnimationUsingKeyFrames.cs
- RestHandlerFactory.cs
- XPathNodeIterator.cs
- CatalogZone.cs
- Constraint.cs
- Enumerable.cs
- WebChannelFactory.cs
- EventSetter.cs
- PermissionListSet.cs
- ReadOnlyCollectionBase.cs
- TextContainerChangedEventArgs.cs
- HostSecurityManager.cs
- OleDbParameterCollection.cs
- DocumentPage.cs
- HandledMouseEvent.cs
- WindowsTreeView.cs
- CapabilitiesAssignment.cs
- EmptyElement.cs
- GetReadStreamResult.cs
- LocalizationParserHooks.cs
- TransformPattern.cs
- ProtocolsConfiguration.cs
- KeyValuePair.cs
- SecurityProtocolCorrelationState.cs
- KnownBoxes.cs
- AttributeUsageAttribute.cs
- ProtectedUri.cs