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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CopyNamespacesAction.cs
- DispatcherEventArgs.cs
- TextTreeObjectNode.cs
- Stroke.cs
- FileDataSourceCache.cs
- FontStretch.cs
- ValueExpressions.cs
- Types.cs
- XmlWriter.cs
- GestureRecognizer.cs
- LinkButton.cs
- ProfileGroupSettingsCollection.cs
- sqlmetadatafactory.cs
- DecimalConverter.cs
- IEnumerable.cs
- ExpressionConverter.cs
- SqlConnectionHelper.cs
- DeferredTextReference.cs
- SrgsElementFactory.cs
- DbParameterCollectionHelper.cs
- ControlPropertyNameConverter.cs
- SettingsAttributes.cs
- XsdBuildProvider.cs
- QuarticEase.cs
- ResourceProviderFactory.cs
- InheritedPropertyChangedEventArgs.cs
- HMACSHA512.cs
- WindowCollection.cs
- OutputCacheProfileCollection.cs
- CustomTrackingQuery.cs
- ComponentEvent.cs
- GatewayDefinition.cs
- NetStream.cs
- StrongNameSignatureInformation.cs
- ParserContext.cs
- SecurityContext.cs
- WpfSharedXamlSchemaContext.cs
- Pair.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- dtdvalidator.cs
- SecUtil.cs
- OleDbWrapper.cs
- TypeDescriptionProvider.cs
- BitmapFrame.cs
- Viewport3DVisual.cs
- CommandDevice.cs
- MgmtConfigurationRecord.cs
- ResourceCategoryAttribute.cs
- Base64WriteStateInfo.cs
- UxThemeWrapper.cs
- MimeObjectFactory.cs
- PriorityBinding.cs
- ColorContextHelper.cs
- ProcessThread.cs
- UriTemplateMatch.cs
- ChtmlTextWriter.cs
- DrawingCollection.cs
- WebPartPersonalization.cs
- SqlTopReducer.cs
- Shape.cs
- OracleInternalConnection.cs
- DataGridViewCellValidatingEventArgs.cs
- ConfigurationElement.cs
- DocumentSequenceHighlightLayer.cs
- WrappingXamlSchemaContext.cs
- PbrsForward.cs
- XmlDigitalSignatureProcessor.cs
- CommandHelper.cs
- ErrorWebPart.cs
- StateWorkerRequest.cs
- RadioButtonBaseAdapter.cs
- TriState.cs
- WebServiceClientProxyGenerator.cs
- ThreadSafeMessageFilterTable.cs
- MulticastIPAddressInformationCollection.cs
- Serialization.cs
- DataListAutoFormat.cs
- DataControlFieldHeaderCell.cs
- ViewValidator.cs
- TimelineClockCollection.cs
- SQLDouble.cs
- WindowsGraphics2.cs
- embossbitmapeffect.cs
- ApplicationInfo.cs
- TreeViewCancelEvent.cs
- CodeMemberProperty.cs
- NetSectionGroup.cs
- arclist.cs
- DoubleAverageAggregationOperator.cs
- SchemaComplexType.cs
- TextCompositionEventArgs.cs
- SimpleBitVector32.cs
- FormsAuthenticationUser.cs
- _BufferOffsetSize.cs
- TransactionProxy.cs
- XmlNodeReader.cs
- RelationshipWrapper.cs
- TypedTableGenerator.cs
- ConnectionStringSettings.cs
- SecurityDocument.cs