Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / StreamInfo.cs / 1 / StreamInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Security; using System.Text; using System.Xml; // Information about a stream used in configuration class StreamInfo { private string _sectionName; // the section the stream contains for configSource, null for a full config file private string _configSource; // the configSource directive that generated this stream, null for a full config file private string _streamName; // name of the stream private bool _isMonitored; // is the stream currently monitored? private object _version; // version that we're monitoring internal StreamInfo(string sectionName, string configSource, string streamName) { _sectionName = sectionName; _configSource = configSource; _streamName = streamName; } private StreamInfo() { } internal StreamInfo Clone() { StreamInfo clone = new StreamInfo(); clone._sectionName = this._sectionName; clone._configSource = this._configSource; clone._streamName = this._streamName; clone._isMonitored = this._isMonitored; clone._version = this._version; return clone; } internal string SectionName { get { return _sectionName; } } internal string ConfigSource { get { return _configSource; } } internal string StreamName { get { return _streamName; } } internal bool IsMonitored { get { return _isMonitored; } set { _isMonitored = value;} } internal object Version { get { return _version; } set { _version = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Security; using System.Text; using System.Xml; // Information about a stream used in configuration class StreamInfo { private string _sectionName; // the section the stream contains for configSource, null for a full config file private string _configSource; // the configSource directive that generated this stream, null for a full config file private string _streamName; // name of the stream private bool _isMonitored; // is the stream currently monitored? private object _version; // version that we're monitoring internal StreamInfo(string sectionName, string configSource, string streamName) { _sectionName = sectionName; _configSource = configSource; _streamName = streamName; } private StreamInfo() { } internal StreamInfo Clone() { StreamInfo clone = new StreamInfo(); clone._sectionName = this._sectionName; clone._configSource = this._configSource; clone._streamName = this._streamName; clone._isMonitored = this._isMonitored; clone._version = this._version; return clone; } internal string SectionName { get { return _sectionName; } } internal string ConfigSource { get { return _configSource; } } internal string StreamName { get { return _streamName; } } internal bool IsMonitored { get { return _isMonitored; } set { _isMonitored = value;} } internal object Version { get { return _version; } set { _version = value; } } } } // 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
- DesignTimeVisibleAttribute.cs
- WindowInteropHelper.cs
- EventKeyword.cs
- HostingMessageProperty.cs
- StackOverflowException.cs
- TextShapeableCharacters.cs
- ClickablePoint.cs
- TextEndOfSegment.cs
- RegexNode.cs
- Util.cs
- StaticFileHandler.cs
- ValidationErrorCollection.cs
- XPathSingletonIterator.cs
- XmlNodeReader.cs
- SqlTypeConverter.cs
- ToolStripPanelSelectionBehavior.cs
- DbBuffer.cs
- SqlDataSourceView.cs
- CacheDependency.cs
- SystemIPv4InterfaceProperties.cs
- ObservableCollection.cs
- MarshalByValueComponent.cs
- MtomMessageEncodingElement.cs
- WindowsTooltip.cs
- EntityDataSource.cs
- AddressingVersion.cs
- WindowsFormsEditorServiceHelper.cs
- AttachedPropertyMethodSelector.cs
- ApplicationSecurityInfo.cs
- GridViewUpdateEventArgs.cs
- EditableRegion.cs
- PrintDialog.cs
- LayoutDump.cs
- CodePageEncoding.cs
- BrowserCapabilitiesFactory.cs
- ResourcePermissionBaseEntry.cs
- TabRenderer.cs
- ErrorTableItemStyle.cs
- DataGridViewAccessibleObject.cs
- ErrorRuntimeConfig.cs
- ImageList.cs
- TypeElement.cs
- QuerySubExprEliminator.cs
- FactoryId.cs
- ValidatedControlConverter.cs
- AssemblyCollection.cs
- PageSetupDialog.cs
- EditorPartChrome.cs
- OracleParameterBinding.cs
- ContentIterators.cs
- DocumentStatusResources.cs
- NeutralResourcesLanguageAttribute.cs
- CallbackTimeoutsElement.cs
- ToolboxItemCollection.cs
- AsymmetricSignatureFormatter.cs
- Msec.cs
- ArcSegment.cs
- VersionedStream.cs
- StandardOleMarshalObject.cs
- WebPartConnectVerb.cs
- ValuePatternIdentifiers.cs
- PackageProperties.cs
- SwitchDesigner.xaml.cs
- ConstrainedDataObject.cs
- SmtpCommands.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- DataGridRowHeader.cs
- ArrayWithOffset.cs
- StoreContentChangedEventArgs.cs
- PolicyException.cs
- PageHandlerFactory.cs
- RenderTargetBitmap.cs
- DispatchChannelSink.cs
- WarningException.cs
- AsyncDataRequest.cs
- DispatcherSynchronizationContext.cs
- XamlSerializerUtil.cs
- XmlSchemaParticle.cs
- ClaimSet.cs
- HttpCapabilitiesEvaluator.cs
- TrackingRecordPreFilter.cs
- DocumentApplicationJournalEntry.cs
- AppDomainManager.cs
- System.Data.OracleClient_BID.cs
- KeyMatchBuilder.cs
- ImmutableCommunicationTimeouts.cs
- ConstraintConverter.cs
- OdbcError.cs
- LocalizationComments.cs
- DeploymentSection.cs
- DockPanel.cs
- MemoryMappedViewStream.cs
- FreezableDefaultValueFactory.cs
- NetworkAddressChange.cs
- XmlSchemaInclude.cs
- SmtpCommands.cs
- InputReport.cs
- ProfessionalColors.cs
- controlskin.cs
- HttpRawResponse.cs