Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / StreamInfo.cs / 1305376 / 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
- CodeActivityContext.cs
- MarkedHighlightComponent.cs
- WebPartAddingEventArgs.cs
- GPPOINTF.cs
- XamlFrame.cs
- ImageMetadata.cs
- ListViewItemCollectionEditor.cs
- ListenDesigner.cs
- ProxyFragment.cs
- SrgsRulesCollection.cs
- ProcessHostConfigUtils.cs
- EntityContainerAssociationSet.cs
- EdgeModeValidation.cs
- ProtocolElement.cs
- Point4D.cs
- WindowInteractionStateTracker.cs
- DisplayInformation.cs
- XmlComplianceUtil.cs
- Oid.cs
- StaticExtension.cs
- recordstatefactory.cs
- CmsInterop.cs
- SignerInfo.cs
- ExpressionBuilder.cs
- SqlAggregateChecker.cs
- CompilerParameters.cs
- XmlNodeChangedEventManager.cs
- PersonalizationProvider.cs
- StructuralCache.cs
- FileDialog.cs
- ProjectionQueryOptionExpression.cs
- GridViewHeaderRowPresenter.cs
- Peer.cs
- Label.cs
- RemoteWebConfigurationHostStream.cs
- RawStylusInputReport.cs
- ItemPager.cs
- ReadOnlyPropertyMetadata.cs
- OutputCacheSettingsSection.cs
- ProxyGenerationError.cs
- DBConnection.cs
- ProfileEventArgs.cs
- StatusBarPanel.cs
- RIPEMD160Managed.cs
- UntypedNullExpression.cs
- HttpCachePolicyWrapper.cs
- ConversionHelper.cs
- GridView.cs
- MappedMetaModel.cs
- ConfigXmlElement.cs
- HtmlMeta.cs
- ToolboxComponentsCreatingEventArgs.cs
- ScriptManagerProxy.cs
- ToolboxComponentsCreatingEventArgs.cs
- SystemFonts.cs
- SubtreeProcessor.cs
- DrawingBrush.cs
- TextFindEngine.cs
- SpecularMaterial.cs
- WebPartConnectionsCancelEventArgs.cs
- CircleEase.cs
- IdnElement.cs
- OutputCacheSettingsSection.cs
- LocationSectionRecord.cs
- ThrowHelper.cs
- SafeNativeMethodsMilCoreApi.cs
- QuaternionValueSerializer.cs
- LeaseManager.cs
- AccessKeyManager.cs
- TextBox.cs
- Property.cs
- LinqDataSourceEditData.cs
- SocketException.cs
- DecoderReplacementFallback.cs
- ItemCollection.cs
- BindingContext.cs
- MimePart.cs
- unsafenativemethodsother.cs
- Trace.cs
- ObjectDisposedException.cs
- DataSpaceManager.cs
- BinaryReader.cs
- RotateTransform.cs
- DesignerRegion.cs
- messageonlyhwndwrapper.cs
- DES.cs
- SqlFunctionAttribute.cs
- DataException.cs
- MailWriter.cs
- LoadedOrUnloadedOperation.cs
- TableChangeProcessor.cs
- RowVisual.cs
- SpellerInterop.cs
- DependencyPropertyKey.cs
- DataGridViewCell.cs
- Char.cs
- UnconditionalPolicy.cs
- XamlInterfaces.cs
- LZCodec.cs
- DataReceivedEventArgs.cs