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
- WindowsPen.cs
- NamedElement.cs
- RepeatBehavior.cs
- HostExecutionContextManager.cs
- ObjectComplexPropertyMapping.cs
- CollectionTypeElement.cs
- SQLBoolean.cs
- TimeSpanOrInfiniteValidator.cs
- ResourceExpressionBuilder.cs
- BindableAttribute.cs
- NegotiateStream.cs
- TextFormatter.cs
- XmlSchemaInclude.cs
- UniqueConstraint.cs
- DateBoldEvent.cs
- TemplatedMailWebEventProvider.cs
- ResXResourceWriter.cs
- QilIterator.cs
- XmlnsCompatibleWithAttribute.cs
- AppDomain.cs
- PeerMaintainer.cs
- Rect3DValueSerializer.cs
- TdsParameterSetter.cs
- TriggerAction.cs
- DictionaryBase.cs
- ToolStripItemRenderEventArgs.cs
- WebRequest.cs
- XmlSubtreeReader.cs
- PageAdapter.cs
- StylusShape.cs
- SqlMethodCallConverter.cs
- TraceSection.cs
- Identifier.cs
- UndirectedGraph.cs
- XmlSchemaExternal.cs
- TableLayoutPanelCellPosition.cs
- IPGlobalProperties.cs
- VerbConverter.cs
- TextContainerChangedEventArgs.cs
- ExceptionCollection.cs
- WebBaseEventKeyComparer.cs
- SiteMapPath.cs
- Bits.cs
- ConnectionProviderAttribute.cs
- PowerStatus.cs
- XmlDocumentFragment.cs
- Accessible.cs
- EnumCodeDomSerializer.cs
- DefaultValueTypeConverter.cs
- XmlDownloadManager.cs
- filewebresponse.cs
- Point.cs
- AttributeInfo.cs
- _OverlappedAsyncResult.cs
- FileLevelControlBuilderAttribute.cs
- Point3DIndependentAnimationStorage.cs
- DataGridViewCellStyleBuilderDialog.cs
- NetworkCredential.cs
- AttributeUsageAttribute.cs
- ColorAnimationUsingKeyFrames.cs
- XmlSchemaAll.cs
- QualifiedCellIdBoolean.cs
- BrowsableAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DefaultSerializationProviderAttribute.cs
- FormsAuthenticationEventArgs.cs
- DataViewManager.cs
- DataTableExtensions.cs
- XmlNodeChangedEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- Span.cs
- BamlRecordReader.cs
- SqlVisitor.cs
- SharedConnectionInfo.cs
- SplitContainerDesigner.cs
- SingleStorage.cs
- ExceptionHelpers.cs
- _CacheStreams.cs
- StringStorage.cs
- TemplateBindingExpressionConverter.cs
- CookieHandler.cs
- DesignerForm.cs
- AnnotationAdorner.cs
- ExtensionDataReader.cs
- ADRole.cs
- HandlerBase.cs
- MetadataUtil.cs
- CultureSpecificCharacterBufferRange.cs
- PolyBezierSegment.cs
- PrintPreviewGraphics.cs
- BinaryUtilClasses.cs
- XamlSerializerUtil.cs
- Partitioner.cs
- ChannelManagerHelpers.cs
- MultiPropertyDescriptorGridEntry.cs
- RotateTransform3D.cs
- XmlSchemaSimpleContentExtension.cs
- TextSimpleMarkerProperties.cs
- HtmlInputFile.cs
- RenderCapability.cs