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
- EventBindingService.cs
- MultiSelectRootGridEntry.cs
- LinqDataSourceInsertEventArgs.cs
- ReversePositionQuery.cs
- WebServicesInteroperability.cs
- SHA256.cs
- DiagnosticTraceSource.cs
- PathFigureCollectionConverter.cs
- CodeDOMProvider.cs
- LayoutTableCell.cs
- ImageCodecInfo.cs
- ResourcesChangeInfo.cs
- SqlConnectionManager.cs
- SweepDirectionValidation.cs
- GeometryCombineModeValidation.cs
- DeclaredTypeValidator.cs
- NodeInfo.cs
- StrokeRenderer.cs
- PrimitiveType.cs
- Task.cs
- ListDependantCardsRequest.cs
- MenuItemStyle.cs
- CompilerResults.cs
- Selector.cs
- ListViewEditEventArgs.cs
- VisualBasicImportReference.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SystemIcons.cs
- CodeVariableReferenceExpression.cs
- CompositeControlDesigner.cs
- TypographyProperties.cs
- PersonalizationStateInfo.cs
- FunctionNode.cs
- WindowInteropHelper.cs
- assemblycache.cs
- MD5CryptoServiceProvider.cs
- TextEditorSelection.cs
- ImageList.cs
- DetailsViewInsertedEventArgs.cs
- NativeActivityAbortContext.cs
- XmlSchemaAppInfo.cs
- DataExpression.cs
- MatrixTransform3D.cs
- Hex.cs
- CustomLineCap.cs
- KnownIds.cs
- HandledEventArgs.cs
- SqlError.cs
- GridToolTip.cs
- XmlCollation.cs
- EntityContainerEntitySet.cs
- BitmapFrameDecode.cs
- FormsIdentity.cs
- DbConnectionPool.cs
- HyperLinkColumn.cs
- Matrix3D.cs
- DescriptionCreator.cs
- NodeCounter.cs
- ImmutableCollection.cs
- Transform3DGroup.cs
- Walker.cs
- MultilineStringEditor.cs
- TdsRecordBufferSetter.cs
- KeyGesture.cs
- ImageCollectionCodeDomSerializer.cs
- Typeface.cs
- PerformanceCounterLib.cs
- Visual3D.cs
- FormCollection.cs
- ConfigurationSectionHelper.cs
- XmlSchemaExporter.cs
- LinkLabelLinkClickedEvent.cs
- UpdateManifestForBrowserApplication.cs
- panel.cs
- UserPreferenceChangingEventArgs.cs
- SystemWebCachingSectionGroup.cs
- DbParameterHelper.cs
- ToggleProviderWrapper.cs
- OrthographicCamera.cs
- AssertSection.cs
- ProgressChangedEventArgs.cs
- FlowDocumentFormatter.cs
- DataBinder.cs
- ExpressionBuilder.cs
- OpCopier.cs
- SafeProcessHandle.cs
- Pen.cs
- XpsFixedDocumentReaderWriter.cs
- EastAsianLunisolarCalendar.cs
- LingerOption.cs
- UserControl.cs
- HMACSHA512.cs
- OledbConnectionStringbuilder.cs
- BmpBitmapEncoder.cs
- TrackingMemoryStreamFactory.cs
- AlignmentXValidation.cs
- ListViewHitTestInfo.cs
- Utility.cs
- XPathBinder.cs
- DeclarativeCatalogPart.cs