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
- CodeIndexerExpression.cs
- Decorator.cs
- ModulesEntry.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ControlDesignerState.cs
- DataGridViewButtonColumn.cs
- BitmapCodecInfoInternal.cs
- ReturnEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- ConvertEvent.cs
- BitmapCodecInfoInternal.cs
- ShapingEngine.cs
- HttpWrapper.cs
- SHA1Managed.cs
- WeakRefEnumerator.cs
- DoubleCollectionConverter.cs
- cookiecollection.cs
- EventSourceCreationData.cs
- ListItem.cs
- SqlComparer.cs
- ToolboxItem.cs
- _TransmitFileOverlappedAsyncResult.cs
- Pkcs7Recipient.cs
- ByteAnimation.cs
- CellRelation.cs
- StringValueSerializer.cs
- StateRuntime.cs
- AsyncStreamReader.cs
- HScrollBar.cs
- RecognizedAudio.cs
- HebrewNumber.cs
- DataGridViewRowStateChangedEventArgs.cs
- SolidBrush.cs
- XamlReaderHelper.cs
- PropertyCollection.cs
- ProbeDuplex11AsyncResult.cs
- WebRequestModulesSection.cs
- CngKeyCreationParameters.cs
- ElapsedEventArgs.cs
- LinqDataSourceDeleteEventArgs.cs
- prompt.cs
- DataObjectMethodAttribute.cs
- XmlNavigatorFilter.cs
- ModuleBuilder.cs
- DataGridRow.cs
- UserNamePasswordValidator.cs
- RbTree.cs
- ResourceDisplayNameAttribute.cs
- XmlDocument.cs
- PublishLicense.cs
- ListViewDeleteEventArgs.cs
- XmlDictionaryString.cs
- KnownAssemblyEntry.cs
- TextEndOfParagraph.cs
- InstanceKeyCompleteException.cs
- DbConnectionInternal.cs
- Normalization.cs
- ImageClickEventArgs.cs
- FrameworkRichTextComposition.cs
- ConfigurationLockCollection.cs
- UpdateTranslator.cs
- MarshalByRefObject.cs
- FixedStringLookup.cs
- WebConfigurationManager.cs
- Propagator.JoinPropagator.cs
- ProtocolsSection.cs
- Set.cs
- TextServicesDisplayAttribute.cs
- RowSpanVector.cs
- XmlNavigatorStack.cs
- EncoderReplacementFallback.cs
- SymmetricSecurityProtocol.cs
- SapiGrammar.cs
- ApplicationManager.cs
- MessageHeader.cs
- DataGridItemAttachedStorage.cs
- NavigationProgressEventArgs.cs
- DataContractAttribute.cs
- ActivityExecutor.cs
- SqlDeflator.cs
- TextElement.cs
- HelpInfo.cs
- AlgoModule.cs
- XmlName.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- PageAsyncTask.cs
- ExpressionConverter.cs
- safex509handles.cs
- WebBrowsableAttribute.cs
- WebControlAdapter.cs
- PointLightBase.cs
- ContentType.cs
- HttpResponseInternalWrapper.cs
- ReliableChannelFactory.cs
- NetworkCredential.cs
- Nullable.cs
- QueryCacheKey.cs
- DiagnosticTrace.cs
- MatrixTransform3D.cs
- PipeStream.cs