Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WaitForChangedResult.cs
- DateTimeConverter2.cs
- FixedTextView.cs
- WebOperationContext.cs
- HtmlTableRow.cs
- HwndHostAutomationPeer.cs
- BackgroundFormatInfo.cs
- OdbcParameter.cs
- HttpPostedFile.cs
- streamingZipPartStream.cs
- DeflateStreamAsyncResult.cs
- ColumnWidthChangedEvent.cs
- SubMenuStyleCollection.cs
- WrappingXamlSchemaContext.cs
- FixedSOMTableRow.cs
- Part.cs
- EnumValidator.cs
- MailWriter.cs
- XmlSchemaChoice.cs
- TablePattern.cs
- SegmentTree.cs
- _TimerThread.cs
- DiscoveryDocumentReference.cs
- SchemaImporterExtensionElement.cs
- URLAttribute.cs
- NumericPagerField.cs
- SerializerWriterEventHandlers.cs
- SmiContext.cs
- NavigationProperty.cs
- SafeHandles.cs
- PropertyItemInternal.cs
- SizeFConverter.cs
- ApplicationBuildProvider.cs
- GB18030Encoding.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- StaticExtensionConverter.cs
- DateTimeConstantAttribute.cs
- DuplicateWaitObjectException.cs
- PagedDataSource.cs
- CardSpaceSelector.cs
- DataGridViewCellMouseEventArgs.cs
- XPathAncestorQuery.cs
- SerialErrors.cs
- ConfigPathUtility.cs
- FunctionGenerator.cs
- ProfilePropertySettingsCollection.cs
- StringAnimationBase.cs
- UnmanagedMarshal.cs
- TreeNodeMouseHoverEvent.cs
- CanExecuteRoutedEventArgs.cs
- TimeSpanConverter.cs
- ZipFileInfo.cs
- OleDbCommand.cs
- AsyncStreamReader.cs
- SafeArrayRankMismatchException.cs
- Window.cs
- Walker.cs
- RegexInterpreter.cs
- PropertyEmitterBase.cs
- MemberPath.cs
- Parameter.cs
- CompositeFontFamily.cs
- WindowsListViewGroupHelper.cs
- SuppressIldasmAttribute.cs
- CodeObject.cs
- CompositeActivityTypeDescriptor.cs
- XmlHierarchicalEnumerable.cs
- ChtmlSelectionListAdapter.cs
- LassoHelper.cs
- TemplateField.cs
- ComEventsHelper.cs
- ZipIOModeEnforcingStream.cs
- ConfigXmlSignificantWhitespace.cs
- FacetValues.cs
- MethodBuilderInstantiation.cs
- SHA1CryptoServiceProvider.cs
- ProfileGroupSettings.cs
- DirectionalAction.cs
- InfocardChannelParameter.cs
- ConfigurationSectionGroup.cs
- Policy.cs
- StreamInfo.cs
- ChoiceConverter.cs
- EventBuilder.cs
- EdmItemError.cs
- SoapDocumentServiceAttribute.cs
- AssemblyFilter.cs
- TypeElement.cs
- FlowDocumentReaderAutomationPeer.cs
- Operator.cs
- BasicCellRelation.cs
- ObjectConverter.cs
- WebPartConnectionsConnectVerb.cs
- EnumUnknown.cs
- ToolStripContainer.cs
- ProtocolsConfigurationHandler.cs
- ReferencedAssemblyResolver.cs
- Helper.cs
- SQLDouble.cs
- XmlSchemaAny.cs