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
- TransformFinalBlockRequest.cs
- SelectionProcessor.cs
- InstanceLockedException.cs
- WorkflowDurableInstance.cs
- CustomAssemblyResolver.cs
- Stack.cs
- XhtmlMobileTextWriter.cs
- X509SecurityToken.cs
- ResetableIterator.cs
- cache.cs
- ComponentCommands.cs
- DynamicDiscoveryDocument.cs
- DbMetaDataCollectionNames.cs
- SqlCommandSet.cs
- XmlSchemaImporter.cs
- TableParagraph.cs
- SqlFlattener.cs
- DbDataSourceEnumerator.cs
- Imaging.cs
- StyleCollection.cs
- SerialReceived.cs
- Typography.cs
- TraceLevelHelper.cs
- PointValueSerializer.cs
- MetadataItem.cs
- TextBoxBase.cs
- PasswordBox.cs
- ErrorEventArgs.cs
- SafeFileMappingHandle.cs
- TdsRecordBufferSetter.cs
- SignatureConfirmationElement.cs
- StackBuilderSink.cs
- TimeSpanHelper.cs
- DateTimePicker.cs
- TdsRecordBufferSetter.cs
- FragmentQueryKB.cs
- StrongNameUtility.cs
- KnowledgeBase.cs
- EpmTargetTree.cs
- SafeNativeMethodsMilCoreApi.cs
- DecoderBestFitFallback.cs
- Point3DIndependentAnimationStorage.cs
- Parsers.cs
- XmlDocumentFragment.cs
- MetadataUtil.cs
- MasterPageCodeDomTreeGenerator.cs
- DataStreams.cs
- ClrPerspective.cs
- CompiledQueryCacheKey.cs
- MSHTMLHost.cs
- ProgressBarRenderer.cs
- VisualStyleRenderer.cs
- GenerateTemporaryTargetAssembly.cs
- SqlDeflator.cs
- ConfigErrorGlyph.cs
- BoolExpressionVisitors.cs
- RequestCachePolicy.cs
- IsolatedStorageFile.cs
- CompressedStack.cs
- AuthorizationSection.cs
- DataGridSortCommandEventArgs.cs
- DecoderNLS.cs
- CodeValidator.cs
- DrawingBrush.cs
- DesignTimeHTMLTextWriter.cs
- DATA_BLOB.cs
- SqlReferenceCollection.cs
- WindowsRichEdit.cs
- FactoryGenerator.cs
- FilePrompt.cs
- ValidationEventArgs.cs
- TypedColumnHandler.cs
- ToolTipAutomationPeer.cs
- FlagsAttribute.cs
- Marshal.cs
- EncryptedData.cs
- DeviceContexts.cs
- RIPEMD160Managed.cs
- MetadataUtil.cs
- TypeTypeConverter.cs
- Int32RectConverter.cs
- SqlProvider.cs
- SortedList.cs
- BulletedListEventArgs.cs
- IgnorePropertiesAttribute.cs
- IndicFontClient.cs
- PackagingUtilities.cs
- GregorianCalendar.cs
- StringValueSerializer.cs
- DeploymentSection.cs
- ItemAutomationPeer.cs
- IndexOutOfRangeException.cs
- Environment.cs
- PersonalizationState.cs
- UrlPath.cs
- PageBuildProvider.cs
- RefreshPropertiesAttribute.cs
- KeyValuePair.cs
- MarshalByRefObject.cs
- WorkflowDurableInstance.cs