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 / 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
- COM2IPerPropertyBrowsingHandler.cs
- DataStreamFromComStream.cs
- SubqueryTrackingVisitor.cs
- DefaultEventAttribute.cs
- SymmetricCryptoHandle.cs
- FilteredReadOnlyMetadataCollection.cs
- ControlCachePolicy.cs
- ErrorItem.cs
- SQLBytesStorage.cs
- UIHelper.cs
- OracleString.cs
- AnnotationMap.cs
- OleServicesContext.cs
- SweepDirectionValidation.cs
- ConstraintCollection.cs
- DecoderNLS.cs
- UpdatePanelTriggerCollection.cs
- TagMapCollection.cs
- WindowsGraphicsWrapper.cs
- UdpDiscoveryEndpoint.cs
- WindowExtensionMethods.cs
- AudioFileOut.cs
- SqlUserDefinedTypeAttribute.cs
- NameService.cs
- FactoryMaker.cs
- DataGridComboBoxColumn.cs
- DetailsViewRow.cs
- XmlSubtreeReader.cs
- TreeIterator.cs
- XmlDataImplementation.cs
- NamespaceQuery.cs
- BasicExpandProvider.cs
- _ShellExpression.cs
- MaterializeFromAtom.cs
- OraclePermissionAttribute.cs
- FeatureAttribute.cs
- DropShadowBitmapEffect.cs
- MailAddress.cs
- TextBox.cs
- SqlRowUpdatedEvent.cs
- StyleCollectionEditor.cs
- MissingManifestResourceException.cs
- SiteOfOriginPart.cs
- ExpressionNode.cs
- SqlErrorCollection.cs
- MLangCodePageEncoding.cs
- EndOfStreamException.cs
- PerfCounters.cs
- TabItemAutomationPeer.cs
- ResourceSet.cs
- Pair.cs
- RightsManagementEncryptionTransform.cs
- DomNameTable.cs
- ColumnReorderedEventArgs.cs
- WebPartRestoreVerb.cs
- StatusStrip.cs
- AdPostCacheSubstitution.cs
- ValueQuery.cs
- CreateUserWizardDesigner.cs
- WindowsAuthenticationModule.cs
- CommonDialog.cs
- DecoderFallbackWithFailureFlag.cs
- CustomErrorsSectionWrapper.cs
- Menu.cs
- DataGridViewAccessibleObject.cs
- MarkerProperties.cs
- StringDictionary.cs
- ParallelQuery.cs
- SocketAddress.cs
- TabPanel.cs
- LinkTarget.cs
- QuaternionRotation3D.cs
- DataGridCaption.cs
- AdornedElementPlaceholder.cs
- UDPClient.cs
- TextSearch.cs
- ModelItemCollectionImpl.cs
- HyperLinkField.cs
- FrameworkElementFactoryMarkupObject.cs
- Panel.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ListViewItemSelectionChangedEvent.cs
- ColorConverter.cs
- KnownTypesProvider.cs
- InheritanceContextChangedEventManager.cs
- TdsParserStaticMethods.cs
- X509Utils.cs
- TripleDES.cs
- DescendantQuery.cs
- DetailsViewDesigner.cs
- OrderToken.cs
- AlternateView.cs
- Page.cs
- lengthconverter.cs
- HandlerBase.cs
- InfoCardAsymmetricCrypto.cs
- UncommonField.cs
- InputLanguageEventArgs.cs
- IndicCharClassifier.cs
- DataServiceRequestOfT.cs