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
- ScrollPattern.cs
- CodeDirectionExpression.cs
- TreeNodeClickEventArgs.cs
- QueryCoreOp.cs
- DelegateCompletionCallbackWrapper.cs
- GeometryCombineModeValidation.cs
- parserscommon.cs
- filewebrequest.cs
- ToolStripLabel.cs
- WorkflowIdleBehavior.cs
- TableParaClient.cs
- XPathExpr.cs
- XmlSerializationReader.cs
- SpeechSeg.cs
- PolicyReader.cs
- SqlClientPermission.cs
- RelationshipEndMember.cs
- Literal.cs
- CodeTypeReferenceExpression.cs
- QueryStoreStatusRequest.cs
- ListViewInsertionMark.cs
- ValidationHelpers.cs
- FontTypeConverter.cs
- TextElement.cs
- MailSettingsSection.cs
- SecurityContext.cs
- RegexMatchCollection.cs
- UTF32Encoding.cs
- WebHttpBindingElement.cs
- OleDbWrapper.cs
- TouchPoint.cs
- Button.cs
- Point3DAnimation.cs
- ProcessProtocolHandler.cs
- _TimerThread.cs
- IsolatedStorageFile.cs
- HandleTable.cs
- ExceptionUtil.cs
- IListConverters.cs
- OperationAbortedException.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- MailMessage.cs
- __ComObject.cs
- OutputCacheSection.cs
- UriParserTemplates.cs
- WebPartTransformer.cs
- ProcessingInstructionAction.cs
- TypeConverterHelper.cs
- OdbcDataAdapter.cs
- HttpListenerRequest.cs
- ZipIOExtraFieldZip64Element.cs
- MessageHeaders.cs
- WebPartDisplayModeEventArgs.cs
- VoiceSynthesis.cs
- TdsRecordBufferSetter.cs
- Emitter.cs
- CompositeClientFormatter.cs
- GeneralTransform.cs
- RSAPKCS1SignatureFormatter.cs
- AssociationTypeEmitter.cs
- Identity.cs
- Pair.cs
- AuthenticationModulesSection.cs
- PropertyGridCommands.cs
- SamlSecurityToken.cs
- ProxyWebPart.cs
- XmlDataImplementation.cs
- DocumentPageViewAutomationPeer.cs
- Schema.cs
- OleDbEnumerator.cs
- ColorAnimation.cs
- FastEncoderStatics.cs
- ImageMap.cs
- ComEventsMethod.cs
- WebMessageEncodingElement.cs
- OleDbErrorCollection.cs
- UIElement3D.cs
- MSAANativeProvider.cs
- HitTestParameters.cs
- HierarchicalDataBoundControl.cs
- SqlClientFactory.cs
- IntegerFacetDescriptionElement.cs
- CacheVirtualItemsEvent.cs
- SqlDuplicator.cs
- COM2PropertyPageUITypeConverter.cs
- ValidationSummary.cs
- DelegatingConfigHost.cs
- ManualResetEvent.cs
- VariableExpressionConverter.cs
- Composition.cs
- CacheOutputQuery.cs
- SafeThreadHandle.cs
- ReferencedAssembly.cs
- InternalConfigSettingsFactory.cs
- InheritanceAttribute.cs
- BeginStoryboard.cs
- SystemGatewayIPAddressInformation.cs
- FileDialog.cs
- CorrelationManager.cs
- SettingsPropertyWrongTypeException.cs