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
- NamespaceQuery.cs
- PropertyMetadata.cs
- DeploymentSection.cs
- GridViewColumnCollectionChangedEventArgs.cs
- AffineTransform3D.cs
- DataGridViewBand.cs
- ProxyManager.cs
- EdmToObjectNamespaceMap.cs
- ConfigurationManagerInternalFactory.cs
- UnmanagedMemoryStream.cs
- DataBindingExpressionBuilder.cs
- DataBoundControlHelper.cs
- FatalException.cs
- PatternMatcher.cs
- HelpInfo.cs
- CompModSwitches.cs
- FormsAuthenticationConfiguration.cs
- LoadWorkflowAsyncResult.cs
- PropertyTab.cs
- DesignerProperties.cs
- UnsafeNativeMethodsMilCoreApi.cs
- MonthChangedEventArgs.cs
- UseLicense.cs
- JsonFormatWriterGenerator.cs
- SystemIcons.cs
- DrawingVisual.cs
- DataGridRowsPresenter.cs
- DataTableExtensions.cs
- HierarchicalDataSourceControl.cs
- ToolStripSeparatorRenderEventArgs.cs
- StylusButtonEventArgs.cs
- EntityException.cs
- DelegateSerializationHolder.cs
- XmlSchemaComplexType.cs
- SchemaComplexType.cs
- ClientSession.cs
- GC.cs
- MembershipPasswordException.cs
- GridViewCancelEditEventArgs.cs
- AuthorizationSection.cs
- RangeValuePattern.cs
- DockingAttribute.cs
- WebPartAddingEventArgs.cs
- HybridWebProxyFinder.cs
- ValidationResult.cs
- StateBag.cs
- XmlILOptimizerVisitor.cs
- HttpSysSettings.cs
- HandlerBase.cs
- EntityDataSource.cs
- UpdateTracker.cs
- DataGridViewEditingControlShowingEventArgs.cs
- DropTarget.cs
- NativeMethods.cs
- EUCJPEncoding.cs
- MasterPageCodeDomTreeGenerator.cs
- CryptographicAttribute.cs
- BatchWriter.cs
- AnimatedTypeHelpers.cs
- Single.cs
- RawStylusInputCustomData.cs
- ComplexBindingPropertiesAttribute.cs
- WebEvents.cs
- IndexerNameAttribute.cs
- UpdateExpressionVisitor.cs
- XamlReaderHelper.cs
- Parser.cs
- GuidelineSet.cs
- FixedSOMPage.cs
- PartitionedDataSource.cs
- ParallelEnumerableWrapper.cs
- ServerProtocol.cs
- IsolatedStorageException.cs
- DataGrid.cs
- XhtmlBasicPanelAdapter.cs
- WebPartDeleteVerb.cs
- selecteditemcollection.cs
- safemediahandle.cs
- Control.cs
- DoubleStorage.cs
- InternalControlCollection.cs
- ILGen.cs
- IFlowDocumentViewer.cs
- SchemaDeclBase.cs
- SqlDataReaderSmi.cs
- TextProviderWrapper.cs
- PathSegmentCollection.cs
- Rotation3DAnimation.cs
- ConversionContext.cs
- Pair.cs
- FindCriteriaApril2005.cs
- AppDomainManager.cs
- XMLUtil.cs
- JapaneseLunisolarCalendar.cs
- milrender.cs
- XmlDownloadManager.cs
- XsltSettings.cs
- WorkflowMarkupSerializationException.cs
- MsmqBindingElementBase.cs
- RenderingEventArgs.cs