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
- HTTPNotFoundHandler.cs
- ProfileInfo.cs
- ObjectPropertyMapping.cs
- XmlSchemaInclude.cs
- Vector3dCollection.cs
- RecognizedAudio.cs
- ProfileInfo.cs
- ParameterCollection.cs
- NativeRightsManagementAPIsStructures.cs
- ResourceProviderFactory.cs
- SoapParser.cs
- EventLogLink.cs
- EditorZoneBase.cs
- UntypedNullExpression.cs
- InputScope.cs
- NativeActivityTransactionContext.cs
- ToolStripSplitButton.cs
- LZCodec.cs
- FragmentQueryKB.cs
- UserControl.cs
- ApplicationException.cs
- SettingsPropertyIsReadOnlyException.cs
- Transform.cs
- ForEachAction.cs
- PackageDigitalSignature.cs
- PersonalizationState.cs
- SafeNativeMethodsMilCoreApi.cs
- EmptyImpersonationContext.cs
- HostingEnvironment.cs
- ScriptResourceHandler.cs
- HttpPostedFile.cs
- FormatterConverter.cs
- CalendarKeyboardHelper.cs
- DataListDesigner.cs
- FixedStringLookup.cs
- Parameter.cs
- RestClientProxyHandler.cs
- CollectionTypeElement.cs
- DynamicRenderer.cs
- QueryAccessibilityHelpEvent.cs
- AgileSafeNativeMemoryHandle.cs
- ArraySet.cs
- UndoUnit.cs
- ExtendedPropertyCollection.cs
- FontEmbeddingManager.cs
- IdentityValidationException.cs
- ProxyElement.cs
- MonthCalendar.cs
- SqlMethodAttribute.cs
- EventProviderWriter.cs
- ScrollData.cs
- XmlDocument.cs
- BinaryWriter.cs
- FixedSOMPageConstructor.cs
- IndependentAnimationStorage.cs
- DecoderFallback.cs
- CoTaskMemSafeHandle.cs
- BitmapSizeOptions.cs
- SqlGatherProducedAliases.cs
- SrgsDocument.cs
- TreeNodeCollection.cs
- Char.cs
- TemplateControlParser.cs
- UICuesEvent.cs
- SiteMapDataSource.cs
- SByte.cs
- DbParameterCollectionHelper.cs
- ResolveDuplexAsyncResult.cs
- CharacterBuffer.cs
- Html32TextWriter.cs
- ReflectionTypeLoadException.cs
- PointConverter.cs
- Serializer.cs
- ScriptReference.cs
- ProcessHostFactoryHelper.cs
- ConfigurationSectionHelper.cs
- StylusCollection.cs
- HttpsChannelFactory.cs
- MergeExecutor.cs
- SpecialNameAttribute.cs
- ISCIIEncoding.cs
- BrushValueSerializer.cs
- WebBrowserEvent.cs
- ExpressionNode.cs
- XmlCDATASection.cs
- XmlQualifiedName.cs
- ping.cs
- JoinTreeNode.cs
- DefaultAssemblyResolver.cs
- CodeGeneratorOptions.cs
- connectionpool.cs
- TypeSystem.cs
- AmbientValueAttribute.cs
- DataGridDesigner.cs
- ProcessInputEventArgs.cs
- ObjectPropertyMapping.cs
- ThrowHelper.cs
- SQLInt32.cs
- GCHandleCookieTable.cs
- ReadWriteObjectLock.cs