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
- Utils.cs
- FileDialogCustomPlacesCollection.cs
- NodeFunctions.cs
- AttributeSetAction.cs
- RefExpr.cs
- TextParaLineResult.cs
- SizeConverter.cs
- MultitargetUtil.cs
- InputReport.cs
- ObjectDataSourceFilteringEventArgs.cs
- ContainerActivationHelper.cs
- SequentialOutput.cs
- CodeLabeledStatement.cs
- Context.cs
- SerializationInfo.cs
- TextServicesCompartment.cs
- InvalidEnumArgumentException.cs
- documentsequencetextview.cs
- SettingsPropertyValue.cs
- BamlWriter.cs
- WindowsToolbarItemAsMenuItem.cs
- DataGridViewRowsAddedEventArgs.cs
- BitmapEffectState.cs
- PackageRelationshipCollection.cs
- SetStateEventArgs.cs
- COM2TypeInfoProcessor.cs
- ValidatingReaderNodeData.cs
- RelatedCurrencyManager.cs
- CompileLiteralTextParser.cs
- DataReceivedEventArgs.cs
- ProfileGroupSettings.cs
- CodeTypeOfExpression.cs
- TransactionState.cs
- PrinterResolution.cs
- ApplicationManager.cs
- SessionState.cs
- DataError.cs
- SecurityTokenReferenceStyle.cs
- NameObjectCollectionBase.cs
- OAVariantLib.cs
- sqlmetadatafactory.cs
- Scene3D.cs
- XmlSchemaObject.cs
- CompModSwitches.cs
- ListControlStringCollectionEditor.cs
- GridViewAutomationPeer.cs
- FullTextState.cs
- EncoderFallback.cs
- PrintDialog.cs
- DataGridViewRowsAddedEventArgs.cs
- HttpCapabilitiesBase.cs
- ValueSerializer.cs
- HtmlEncodedRawTextWriter.cs
- FormsAuthenticationCredentials.cs
- DataViewManagerListItemTypeDescriptor.cs
- RegistrationContext.cs
- PrtCap_Builder.cs
- OLEDB_Util.cs
- QueryParameter.cs
- BulletChrome.cs
- WebUtil.cs
- Point3DValueSerializer.cs
- QuaternionRotation3D.cs
- Number.cs
- CachedBitmap.cs
- HandlerBase.cs
- DayRenderEvent.cs
- Timer.cs
- DataGridViewTopLeftHeaderCell.cs
- XPathSingletonIterator.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ServiceHttpModule.cs
- RequestResizeEvent.cs
- ValueTable.cs
- FastEncoderWindow.cs
- Typeface.cs
- CodeObject.cs
- SyntaxCheck.cs
- OuterGlowBitmapEffect.cs
- ProtocolsSection.cs
- StylusButtonEventArgs.cs
- SegmentInfo.cs
- EntityDataSourceDesignerHelper.cs
- Menu.cs
- ViewStateModeByIdAttribute.cs
- ValueQuery.cs
- CssClassPropertyAttribute.cs
- TypeToken.cs
- XsdBuildProvider.cs
- CheckableControlBaseAdapter.cs
- BamlVersionHeader.cs
- DynamicHyperLink.cs
- StackBuilderSink.cs
- HMAC.cs
- CodePageUtils.cs
- SafeNativeMethodsOther.cs
- PixelFormatConverter.cs
- EventRouteFactory.cs
- FontFamilyIdentifier.cs
- ExtentCqlBlock.cs