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
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Parser.cs
- FilteredXmlReader.cs
- InvalidOperationException.cs
- QueryRelOp.cs
- DBSchemaTable.cs
- TypeValidationEventArgs.cs
- ImageFormatConverter.cs
- SystemParameters.cs
- OrderPreservingMergeHelper.cs
- ComAdminWrapper.cs
- DataContractAttribute.cs
- PropertyOrder.cs
- EntityDataSourceWizardForm.cs
- DataViewManagerListItemTypeDescriptor.cs
- DockEditor.cs
- WorkflowRuntimeSection.cs
- TextSearch.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Buffer.cs
- WorkflowClientDeliverMessageWrapper.cs
- ConfigurationErrorsException.cs
- XsdValidatingReader.cs
- BitStream.cs
- UIntPtr.cs
- BooleanToVisibilityConverter.cs
- ButtonChrome.cs
- TransformerTypeCollection.cs
- EventLogTraceListener.cs
- GenericWebPart.cs
- CodeSnippetCompileUnit.cs
- StringAnimationBase.cs
- URIFormatException.cs
- TypeLoadException.cs
- ManifestSignedXml.cs
- SoapAttributes.cs
- XmlLanguageConverter.cs
- BooleanAnimationBase.cs
- SchemaComplexType.cs
- TraceInternal.cs
- HwndProxyElementProvider.cs
- XmlAttributeAttribute.cs
- Label.cs
- StoragePropertyMapping.cs
- SmtpReplyReaderFactory.cs
- ProbeMatchesCD1.cs
- ExtendLockAsyncResult.cs
- CornerRadiusConverter.cs
- DateTimeValueSerializerContext.cs
- EncryptedPackageFilter.cs
- SQLDecimal.cs
- WindowsButton.cs
- WindowsListViewItemCheckBox.cs
- AppDomainCompilerProxy.cs
- ConfigXmlComment.cs
- RadioButtonBaseAdapter.cs
- FixedTextContainer.cs
- OleDbConnectionFactory.cs
- XmlAnyElementAttribute.cs
- RequestCachePolicyConverter.cs
- XamlDebuggerXmlReader.cs
- NativeMethods.cs
- ElementFactory.cs
- SecurityTokenSerializer.cs
- HandlerBase.cs
- DynamicResourceExtension.cs
- DependencyPropertyChangedEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- ToolStripScrollButton.cs
- BaseTemplateBuildProvider.cs
- ToolStripOverflow.cs
- TypeUtil.cs
- HttpCachePolicy.cs
- StateMachineWorkflow.cs
- WindowInteropHelper.cs
- PermissionAttributes.cs
- CompoundFileIOPermission.cs
- PersonalizableAttribute.cs
- TreePrinter.cs
- ProtocolElement.cs
- Helper.cs
- CapabilitiesState.cs
- NavigationFailedEventArgs.cs
- VBCodeProvider.cs
- Size.cs
- Trace.cs
- VerbConverter.cs
- TranslateTransform3D.cs
- ScrollData.cs
- CodeDomSerializerBase.cs
- SecurityDocument.cs
- DataTableReader.cs
- ObjectDataSourceFilteringEventArgs.cs
- StorageConditionPropertyMapping.cs
- ErrorTableItemStyle.cs
- MemberHolder.cs
- DeviceContext.cs
- CustomBindingCollectionElement.cs
- CallbackHandler.cs
- DataControlFieldHeaderCell.cs