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
- MatrixAnimationUsingKeyFrames.cs
- XNameTypeConverter.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- WebPartDescription.cs
- GatewayIPAddressInformationCollection.cs
- SecurityKeyType.cs
- TraceSection.cs
- IDataContractSurrogate.cs
- SemaphoreSecurity.cs
- DragEvent.cs
- Rect.cs
- EditorPartCollection.cs
- cache.cs
- RefType.cs
- ToolStripContentPanelRenderEventArgs.cs
- safex509handles.cs
- WebPartDescription.cs
- WebPartsPersonalizationAuthorization.cs
- AlternateView.cs
- ObjectStateEntryDbDataRecord.cs
- BeginCreateSecurityTokenRequest.cs
- URIFormatException.cs
- Content.cs
- SoapDocumentServiceAttribute.cs
- EmptyControlCollection.cs
- ScrollProviderWrapper.cs
- ExtendedProperty.cs
- ForceCopyBuildProvider.cs
- MouseCaptureWithinProperty.cs
- EventWaitHandle.cs
- XmlCustomFormatter.cs
- MultiBinding.cs
- DragCompletedEventArgs.cs
- BrowserTree.cs
- KerberosRequestorSecurityToken.cs
- InkSerializer.cs
- CharConverter.cs
- XmlSerializationGeneratedCode.cs
- WebPartEditorApplyVerb.cs
- Pair.cs
- Odbc32.cs
- XmlReaderSettings.cs
- DataGridTable.cs
- SQLByteStorage.cs
- ExpressionVisitorHelpers.cs
- CodeExpressionCollection.cs
- ExtensionsSection.cs
- UIInitializationException.cs
- ResourceCategoryAttribute.cs
- ReadingWritingEntityEventArgs.cs
- IApplicationTrustManager.cs
- FrameworkContentElement.cs
- TransactionInformation.cs
- Array.cs
- CannotUnloadAppDomainException.cs
- PropertyReference.cs
- BackEase.cs
- AssemblyHash.cs
- MasterPageCodeDomTreeGenerator.cs
- SchemaCollectionCompiler.cs
- MissingFieldException.cs
- MailMessageEventArgs.cs
- TrustLevelCollection.cs
- InplaceBitmapMetadataWriter.cs
- HierarchicalDataSourceControl.cs
- LabelAutomationPeer.cs
- EdmValidator.cs
- _ScatterGatherBuffers.cs
- DataSourceSerializationException.cs
- PersistenceTypeAttribute.cs
- Matrix3DConverter.cs
- TraceLevelStore.cs
- NotificationContext.cs
- PipelineModuleStepContainer.cs
- AssemblyInfo.cs
- Profiler.cs
- GeometryDrawing.cs
- DataBoundControlActionList.cs
- MessageLoggingFilterTraceRecord.cs
- InvalidateEvent.cs
- Simplifier.cs
- SettingsPropertyNotFoundException.cs
- TableLayoutSettingsTypeConverter.cs
- PipeSecurity.cs
- ToolBarPanel.cs
- AssertFilter.cs
- ValidationResult.cs
- ExtensionSimplifierMarkupObject.cs
- ByteStreamMessageUtility.cs
- PipeException.cs
- SoapProtocolImporter.cs
- SafeLibraryHandle.cs
- PointAnimation.cs
- ScrollBar.cs
- AssemblyContextControlItem.cs
- SmiRequestExecutor.cs
- SqlConnectionString.cs
- ObservableCollection.cs
- BoolExpression.cs
- _ListenerResponseStream.cs