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
- MULTI_QI.cs
- FileDialogPermission.cs
- AnimationException.cs
- Pts.cs
- ProjectionCamera.cs
- DataGridViewToolTip.cs
- StyleHelper.cs
- mediaeventshelper.cs
- CompoundFileIOPermission.cs
- HeaderedItemsControl.cs
- SQLDateTime.cs
- MemberHolder.cs
- AnimationLayer.cs
- panel.cs
- COM2ColorConverter.cs
- SingleObjectCollection.cs
- CalendarDataBindingHandler.cs
- InheritanceRules.cs
- DesignerActionTextItem.cs
- TraceProvider.cs
- DesignerView.cs
- SecurityTokenAuthenticator.cs
- DirectoryNotFoundException.cs
- Table.cs
- TextBoxBase.cs
- RectangleConverter.cs
- StringValidator.cs
- SupportsEventValidationAttribute.cs
- TdsParserSessionPool.cs
- _Win32.cs
- Geometry3D.cs
- TimeZone.cs
- OdbcUtils.cs
- ConnectionStringsSection.cs
- MenuItemBinding.cs
- OleDbCommandBuilder.cs
- ItemType.cs
- PropertyManager.cs
- XmlFormatReaderGenerator.cs
- SourceItem.cs
- InstanceDescriptor.cs
- EntityDataSourceView.cs
- IPAddressCollection.cs
- ExceptionList.cs
- ClaimTypes.cs
- HTTPRemotingHandler.cs
- OneWayElement.cs
- GeometryCombineModeValidation.cs
- ConnectionInterfaceCollection.cs
- RootBrowserWindowAutomationPeer.cs
- XPathDocumentNavigator.cs
- SqlGenerator.cs
- MethodBody.cs
- coordinator.cs
- HostingEnvironmentException.cs
- SmiEventStream.cs
- cache.cs
- OrderByLifter.cs
- RoleGroup.cs
- Cursor.cs
- WebServiceParameterData.cs
- TextEditorParagraphs.cs
- FontSourceCollection.cs
- ToolStripGrip.cs
- SignerInfo.cs
- ProviderUtil.cs
- FilterableAttribute.cs
- TypeConverterAttribute.cs
- ProjectionPruner.cs
- StatusBarItemAutomationPeer.cs
- QilUnary.cs
- KnownBoxes.cs
- LiteralTextParser.cs
- CodeDomLoader.cs
- MetafileHeaderEmf.cs
- HitTestDrawingContextWalker.cs
- ProviderBase.cs
- Wildcard.cs
- BindingGroup.cs
- _Win32.cs
- ActivityCollectionMarkupSerializer.cs
- EmptyWorkItem.cs
- Vector3DConverter.cs
- CachedCompositeFamily.cs
- TypedReference.cs
- EventsTab.cs
- InkPresenter.cs
- CaseInsensitiveComparer.cs
- WpfPayload.cs
- CompensatableTransactionScopeActivity.cs
- HandledMouseEvent.cs
- HiddenField.cs
- XmlProcessingInstruction.cs
- CompiledQueryCacheEntry.cs
- ObjectListShowCommandsEventArgs.cs
- ReferenceSchema.cs
- MethodInfo.cs
- DateTime.cs
- CrossContextChannel.cs
- Certificate.cs