Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Abstractions / HttpStaticObjectsCollectionWrapper.cs / 1305376 / HttpStaticObjectsCollectionWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { using System; using System.Collections; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.CompilerServices; [TypeForwardedFrom("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] [SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Justification = "This type is an abstraction for HttpStaticObjectsCollection.")] public class HttpStaticObjectsCollectionWrapper : HttpStaticObjectsCollectionBase { private HttpStaticObjectsCollection _collection; public HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection httpStaticObjectsCollection) { if (httpStaticObjectsCollection == null) { throw new ArgumentNullException("httpStaticObjectsCollection"); } _collection = httpStaticObjectsCollection; } public override int Count { get { return _collection.Count; } } public override bool IsReadOnly { get { return _collection.IsReadOnly; } } public override bool IsSynchronized { get { return _collection.IsSynchronized; } } public override object this[string name] { get { return _collection[name]; } } public override bool NeverAccessed { get { return _collection.NeverAccessed; } } public override object SyncRoot { get { return _collection.SyncRoot; } } public override void CopyTo(Array array, int index) { _collection.CopyTo(array, index); } public override IEnumerator GetEnumerator() { return _collection.GetEnumerator(); } public override object GetObject(string name) { return _collection.GetObject(name); } public override void Serialize(BinaryWriter writer) { _collection.Serialize(writer); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { using System; using System.Collections; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.CompilerServices; [TypeForwardedFrom("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] [SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Justification = "This type is an abstraction for HttpStaticObjectsCollection.")] public class HttpStaticObjectsCollectionWrapper : HttpStaticObjectsCollectionBase { private HttpStaticObjectsCollection _collection; public HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection httpStaticObjectsCollection) { if (httpStaticObjectsCollection == null) { throw new ArgumentNullException("httpStaticObjectsCollection"); } _collection = httpStaticObjectsCollection; } public override int Count { get { return _collection.Count; } } public override bool IsReadOnly { get { return _collection.IsReadOnly; } } public override bool IsSynchronized { get { return _collection.IsSynchronized; } } public override object this[string name] { get { return _collection[name]; } } public override bool NeverAccessed { get { return _collection.NeverAccessed; } } public override object SyncRoot { get { return _collection.SyncRoot; } } public override void CopyTo(Array array, int index) { _collection.CopyTo(array, index); } public override IEnumerator GetEnumerator() { return _collection.GetEnumerator(); } public override object GetObject(string name) { return _collection.GetObject(name); } public override void Serialize(BinaryWriter writer) { _collection.Serialize(writer); } } } // 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
- TemplateControlCodeDomTreeGenerator.cs
- ColumnTypeConverter.cs
- WindowsGrip.cs
- PublishLicense.cs
- ConditionCollection.cs
- MatrixTransform.cs
- Decoder.cs
- ToolStripSettings.cs
- Expression.cs
- CodeRegionDirective.cs
- MenuItem.cs
- TextTreeRootTextBlock.cs
- CalendarSelectionChangedEventArgs.cs
- TypeConverterAttribute.cs
- AuthenticationSection.cs
- HttpHandlersSection.cs
- SqlBulkCopyColumnMappingCollection.cs
- SessionPageStatePersister.cs
- QueryGeneratorBase.cs
- SpeechEvent.cs
- ModelUIElement3D.cs
- DragDeltaEventArgs.cs
- NameTable.cs
- KeyBinding.cs
- NonPrimarySelectionGlyph.cs
- HyperLinkColumn.cs
- Clock.cs
- DbConvert.cs
- BamlLocalizer.cs
- NameValueCollection.cs
- SQLConvert.cs
- PeerTransportListenAddressConverter.cs
- QueryContinueDragEvent.cs
- UseLicense.cs
- Dynamic.cs
- PathParser.cs
- AnchorEditor.cs
- SelectionUIService.cs
- ContentFileHelper.cs
- ActiveXSite.cs
- NameSpaceEvent.cs
- PermissionSet.cs
- DrawingGroupDrawingContext.cs
- Module.cs
- OleDbParameterCollection.cs
- ReliableOutputSessionChannel.cs
- DataTableTypeConverter.cs
- CatalogPartCollection.cs
- UndirectedGraph.cs
- HttpListenerPrefixCollection.cs
- NameService.cs
- LicenseContext.cs
- HostProtectionPermission.cs
- TakeQueryOptionExpression.cs
- AdapterUtil.cs
- DataRowComparer.cs
- QueryConverter.cs
- CompositeCollectionView.cs
- PasswordRecoveryAutoFormat.cs
- ProcessModelSection.cs
- RectangleHotSpot.cs
- ConfigXmlAttribute.cs
- CollectionBase.cs
- WpfKnownType.cs
- SoapException.cs
- StringAttributeCollection.cs
- FilterElement.cs
- FederatedMessageSecurityOverHttp.cs
- DocumentsTrace.cs
- CoTaskMemUnicodeSafeHandle.cs
- CollectionViewGroupInternal.cs
- CustomCategoryAttribute.cs
- OperatingSystem.cs
- DataListCommandEventArgs.cs
- Ray3DHitTestResult.cs
- DrawListViewColumnHeaderEventArgs.cs
- ThreadNeutralSemaphore.cs
- CatalogZoneBase.cs
- TextTreeRootTextBlock.cs
- CutCopyPasteHelper.cs
- CustomCredentialPolicy.cs
- BridgeDataReader.cs
- EntityTypeEmitter.cs
- TdsParserSafeHandles.cs
- GridViewRowPresenterBase.cs
- TextRunCache.cs
- CacheEntry.cs
- SerializationException.cs
- TrackingServices.cs
- DataObjectAttribute.cs
- DataGridViewTextBoxCell.cs
- DataGridAddNewRow.cs
- X509IssuerSerialKeyIdentifierClause.cs
- WebPartDisplayModeCancelEventArgs.cs
- ContractTypeNameElement.cs
- TemplatePagerField.cs
- MethodCallTranslator.cs
- RadioButtonPopupAdapter.cs
- SoapConverter.cs
- TreeNodeEventArgs.cs