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
- SafeCancelMibChangeNotify.cs
- httpserverutility.cs
- DetailsViewCommandEventArgs.cs
- SqlInternalConnectionSmi.cs
- DBDataPermissionAttribute.cs
- DockingAttribute.cs
- GeometryDrawing.cs
- HierarchicalDataBoundControl.cs
- ClientTargetCollection.cs
- ApplicationActivator.cs
- RootBrowserWindow.cs
- ProfilePropertyNameValidator.cs
- ScriptRef.cs
- InvalidPropValue.cs
- FlowchartDesignerCommands.cs
- TextRunCache.cs
- InvalidateEvent.cs
- GlobalAclOperationRequirement.cs
- _NegoStream.cs
- Vector3DCollectionConverter.cs
- Panel.cs
- Image.cs
- FreeFormDesigner.cs
- BufferBuilder.cs
- MeasurementDCInfo.cs
- ELinqQueryState.cs
- Model3DGroup.cs
- BlurBitmapEffect.cs
- CodeDomConfigurationHandler.cs
- ScriptingProfileServiceSection.cs
- NativeRecognizer.cs
- SchemaMapping.cs
- SecurityTokenRequirement.cs
- DynamicMethod.cs
- FontInfo.cs
- TabPanel.cs
- GridViewSortEventArgs.cs
- ProviderUtil.cs
- RbTree.cs
- FixedPageProcessor.cs
- ObjectQuery_EntitySqlExtensions.cs
- BuilderPropertyEntry.cs
- IdnMapping.cs
- FrameworkContentElement.cs
- ModelProperty.cs
- StatusBarPanelClickEvent.cs
- ReflectEventDescriptor.cs
- TextInfo.cs
- InteropBitmapSource.cs
- SyndicationDeserializer.cs
- ThreadAttributes.cs
- SqlUserDefinedAggregateAttribute.cs
- RecognitionEventArgs.cs
- PresentationTraceSources.cs
- XPathNodeList.cs
- RadioButtonStandardAdapter.cs
- SafeArrayTypeMismatchException.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- GridProviderWrapper.cs
- OptimalTextSource.cs
- IRCollection.cs
- controlskin.cs
- UInt32Converter.cs
- PathStreamGeometryContext.cs
- TripleDESCryptoServiceProvider.cs
- CriticalHandle.cs
- VisualBrush.cs
- Binding.cs
- DaylightTime.cs
- FixedSOMLineCollection.cs
- SoapHeaders.cs
- ControlCachePolicy.cs
- PrintPreviewDialog.cs
- DataGridViewComboBoxEditingControl.cs
- QilCloneVisitor.cs
- VirtualPathExtension.cs
- Schema.cs
- IntegerValidator.cs
- SimplePropertyEntry.cs
- RenderDataDrawingContext.cs
- Ipv6Element.cs
- GridView.cs
- PassportAuthentication.cs
- ComponentEditorForm.cs
- DotExpr.cs
- DataBindingCollection.cs
- AssemblyAttributesGoHere.cs
- DrawingGroup.cs
- Assert.cs
- XmlEntity.cs
- CmsInterop.cs
- ComplexBindingPropertiesAttribute.cs
- StackBuilderSink.cs
- COM2ExtendedBrowsingHandler.cs
- x509utils.cs
- HighlightVisual.cs
- DrawListViewItemEventArgs.cs
- HttpCacheVary.cs
- EntityDataSourceQueryBuilder.cs