Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- HttpProxyTransportBindingElement.cs
- SudsCommon.cs
- WebPartZoneDesigner.cs
- BevelBitmapEffect.cs
- ZipIOLocalFileBlock.cs
- ParameterToken.cs
- Annotation.cs
- OleDbException.cs
- ContractType.cs
- Win32Native.cs
- CalendarButton.cs
- PersonalizationStateInfoCollection.cs
- FontFamilyIdentifier.cs
- EntityClientCacheKey.cs
- Tile.cs
- OdbcDataReader.cs
- GridViewCommandEventArgs.cs
- PageClientProxyGenerator.cs
- ViewBase.cs
- WhitespaceRuleLookup.cs
- CounterSampleCalculator.cs
- DataObjectCopyingEventArgs.cs
- BatchParser.cs
- ColorConvertedBitmap.cs
- ImageMapEventArgs.cs
- CodeCastExpression.cs
- EditorPart.cs
- complextypematerializer.cs
- Vector3DCollectionConverter.cs
- QueryContinueDragEventArgs.cs
- PtsContext.cs
- DataTableExtensions.cs
- EpmContentSerializerBase.cs
- BindingManagerDataErrorEventArgs.cs
- ReadOnlyObservableCollection.cs
- InvalidWMPVersionException.cs
- WebPartDisplayModeCancelEventArgs.cs
- OneToOneMappingSerializer.cs
- PrivilegedConfigurationManager.cs
- WebDisplayNameAttribute.cs
- PersonalizationEntry.cs
- Point4D.cs
- SqlStatistics.cs
- FormatVersion.cs
- WebPartManager.cs
- XmlTextEncoder.cs
- UnauthorizedWebPart.cs
- IBuiltInEvidence.cs
- CompilationUtil.cs
- RestClientProxyHandler.cs
- HostDesigntimeLicenseContext.cs
- HitTestDrawingContextWalker.cs
- IdnMapping.cs
- CompressStream.cs
- CompModSwitches.cs
- SqlDataSource.cs
- DefaultSection.cs
- SettingsPropertyValue.cs
- StyleModeStack.cs
- CodeDefaultValueExpression.cs
- WmiPutTraceRecord.cs
- PropertyIdentifier.cs
- TextServicesManager.cs
- DnsPermission.cs
- SortKey.cs
- FieldMetadata.cs
- LocalValueEnumerator.cs
- ClientSideQueueItem.cs
- BooleanExpr.cs
- CompilerErrorCollection.cs
- ChtmlTextWriter.cs
- MarkupCompilePass2.cs
- RequestCacheEntry.cs
- MenuItemStyle.cs
- ServiceObjectContainer.cs
- EventDescriptor.cs
- EventProperty.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SystemWebExtensionsSectionGroup.cs
- ClassHandlersStore.cs
- XPathExpr.cs
- SingleTagSectionHandler.cs
- indexingfiltermarshaler.cs
- PixelFormat.cs
- ScriptRef.cs
- Rule.cs
- NullableConverter.cs
- WizardForm.cs
- DataRelation.cs
- UserPersonalizationStateInfo.cs
- EntityClassGenerator.cs
- PageWrapper.cs
- AnimationClockResource.cs
- NestPullup.cs
- VScrollProperties.cs
- DataGridViewCellMouseEventArgs.cs
- NetDataContractSerializer.cs
- ConfigXmlAttribute.cs
- NameValuePermission.cs
- StringExpressionSet.cs