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
- AxHost.cs
- BitmapEffectState.cs
- CFStream.cs
- TreeViewImageGenerator.cs
- SpStreamWrapper.cs
- TextTreeTextBlock.cs
- DocumentPaginator.cs
- ProcessHostServerConfig.cs
- FileLoadException.cs
- RecordManager.cs
- WinEventWrap.cs
- TemplateControl.cs
- PagesChangedEventArgs.cs
- Pair.cs
- BufferedWebEventProvider.cs
- SafeTokenHandle.cs
- BitmapImage.cs
- NameValueConfigurationElement.cs
- DbParameterHelper.cs
- QuadraticBezierSegment.cs
- MarshalDirectiveException.cs
- PrinterResolution.cs
- XmlNode.cs
- GridPattern.cs
- DataGridViewAdvancedBorderStyle.cs
- EntityContainerAssociationSet.cs
- TCPListener.cs
- Inline.cs
- IApplicationTrustManager.cs
- XmlChildEnumerator.cs
- MulticastOption.cs
- PointCollectionConverter.cs
- ReachVisualSerializerAsync.cs
- StaticFileHandler.cs
- XMLSyntaxException.cs
- XmlEncodedRawTextWriter.cs
- ExternalException.cs
- PeerNameRecord.cs
- XmlConvert.cs
- InfiniteIntConverter.cs
- ChannelDemuxer.cs
- TextBox.cs
- RemotingConfiguration.cs
- RuntimeTransactionHandle.cs
- MouseWheelEventArgs.cs
- Animatable.cs
- FramingEncoders.cs
- NoneExcludedImageIndexConverter.cs
- ToolStripLabel.cs
- ComplexBindingPropertiesAttribute.cs
- DataControlReference.cs
- SequenceRangeCollection.cs
- ObjectListSelectEventArgs.cs
- MetadataItemSerializer.cs
- HttpWebRequestElement.cs
- FontSourceCollection.cs
- ListBoxChrome.cs
- XDRSchema.cs
- ScrollContentPresenter.cs
- DbMetaDataFactory.cs
- DesignerToolboxInfo.cs
- PingOptions.cs
- dbdatarecord.cs
- EdmScalarPropertyAttribute.cs
- SqlLiftWhereClauses.cs
- FlagsAttribute.cs
- ValueType.cs
- TcpTransportElement.cs
- TextElement.cs
- SqlAliaser.cs
- ThousandthOfEmRealPoints.cs
- TimeStampChecker.cs
- SelectionRange.cs
- Configuration.cs
- RuntimeIdentifierPropertyAttribute.cs
- CellTreeNodeVisitors.cs
- XamlVector3DCollectionSerializer.cs
- RevocationPoint.cs
- AnimationException.cs
- _SslState.cs
- LabelInfo.cs
- AssemblyNameProxy.cs
- GridViewRowPresenterBase.cs
- DescendantQuery.cs
- DataServiceConfiguration.cs
- SqlDelegatedTransaction.cs
- HttpSocketManager.cs
- HttpHeaderCollection.cs
- BooleanToVisibilityConverter.cs
- CatalogZoneDesigner.cs
- ValidationHelper.cs
- DownloadProgressEventArgs.cs
- CacheSection.cs
- KeyInfo.cs
- DragEventArgs.cs
- InstanceKeyCollisionException.cs
- HttpFileCollection.cs
- MulticastNotSupportedException.cs
- FixedNode.cs
- ModuleBuilderData.cs