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
- WebReferenceCollection.cs
- LayoutInformation.cs
- unsafenativemethodsother.cs
- AnonymousIdentificationModule.cs
- MemberNameValidator.cs
- FixUpCollection.cs
- DataGridViewLinkColumn.cs
- ObjectNotFoundException.cs
- NetWebProxyFinder.cs
- TreeWalker.cs
- DuplexSecurityProtocolFactory.cs
- SequenceFullException.cs
- DocumentPage.cs
- EDesignUtil.cs
- StateMachineHelpers.cs
- WebDisplayNameAttribute.cs
- BrowserCapabilitiesFactoryBase.cs
- ControlHelper.cs
- Converter.cs
- DnsPermission.cs
- DiagnosticTraceSource.cs
- SerializationStore.cs
- ResourcesChangeInfo.cs
- NonParentingControl.cs
- LineGeometry.cs
- SignatureHelper.cs
- NullableDoubleMinMaxAggregationOperator.cs
- MessageDecoder.cs
- Matrix3DValueSerializer.cs
- DBPropSet.cs
- selecteditemcollection.cs
- MetafileEditor.cs
- DataObjectEventArgs.cs
- TreeNode.cs
- LogEntry.cs
- SubpageParaClient.cs
- UntrustedRecipientException.cs
- ViewLoader.cs
- DataBinder.cs
- IImplicitResourceProvider.cs
- XmlConvert.cs
- SchemaDeclBase.cs
- TrackPoint.cs
- XmlLoader.cs
- RelationshipSet.cs
- DefaultCommandConverter.cs
- PersistenceTypeAttribute.cs
- CheckBoxBaseAdapter.cs
- ApplicationServicesHostFactory.cs
- ConfigurationManagerHelper.cs
- IPeerNeighbor.cs
- TreeNodeEventArgs.cs
- TdsRecordBufferSetter.cs
- Image.cs
- HtmlInputImage.cs
- FocusWithinProperty.cs
- RenderDataDrawingContext.cs
- WebResponse.cs
- DataSourceConverter.cs
- ServiceConfigurationTraceRecord.cs
- TextBox.cs
- NonParentingControl.cs
- TextDpi.cs
- IsolatedStorageFileStream.cs
- ServiceBuildProvider.cs
- ParallelRangeManager.cs
- ArglessEventHandlerProxy.cs
- typedescriptorpermissionattribute.cs
- GACMembershipCondition.cs
- XmlImplementation.cs
- CommandField.cs
- ProvideValueServiceProvider.cs
- DesignerVerb.cs
- EventListenerClientSide.cs
- QilParameter.cs
- RemotingClientProxy.cs
- ValueProviderWrapper.cs
- AvTraceDetails.cs
- OrderedDictionaryStateHelper.cs
- BamlRecordReader.cs
- ScriptingSectionGroup.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WorkItem.cs
- ByteStreamMessageEncoder.cs
- DocumentCollection.cs
- SerializableAttribute.cs
- OutgoingWebResponseContext.cs
- SoapEnvelopeProcessingElement.cs
- ConfigXmlCDataSection.cs
- HtmlSelect.cs
- HandlerMappingMemo.cs
- WmlObjectListAdapter.cs
- EastAsianLunisolarCalendar.cs
- XsltException.cs
- DataGridItemCollection.cs
- XmlAttributeCache.cs
- SerializationInfo.cs
- CallbackWrapper.cs
- X509Chain.cs
- SoapMessage.cs