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
- SelectQueryOperator.cs
- TraversalRequest.cs
- CommandManager.cs
- ButtonBaseAdapter.cs
- MemberRelationshipService.cs
- Image.cs
- BooleanFacetDescriptionElement.cs
- GroupBox.cs
- ProtocolViolationException.cs
- PermissionListSet.cs
- WebPartCatalogAddVerb.cs
- EntityDesignerUtils.cs
- SelectionItemProviderWrapper.cs
- XsdCachingReader.cs
- TextEditorLists.cs
- Helpers.cs
- RemoteWebConfigurationHostStream.cs
- Symbol.cs
- SqlTypeSystemProvider.cs
- DataGridPagingPage.cs
- UriExt.cs
- EntryWrittenEventArgs.cs
- HtmlGenericControl.cs
- Simplifier.cs
- ComponentGlyph.cs
- MonikerSyntaxException.cs
- OrderedDictionaryStateHelper.cs
- SyndicationDeserializer.cs
- ManagementObject.cs
- ThicknessAnimation.cs
- StartUpEventArgs.cs
- Int64Storage.cs
- SelectedGridItemChangedEvent.cs
- GatewayIPAddressInformationCollection.cs
- StrongNameIdentityPermission.cs
- Dictionary.cs
- DataGridAddNewRow.cs
- TransformedBitmap.cs
- SpanIndex.cs
- WrappedIUnknown.cs
- PeerNearMe.cs
- NonParentingControl.cs
- FormViewCommandEventArgs.cs
- CollectionChangedEventManager.cs
- IIS7UserPrincipal.cs
- AutoGeneratedFieldProperties.cs
- TargetControlTypeCache.cs
- X509WindowsSecurityToken.cs
- XmlSchemaSimpleTypeRestriction.cs
- IntPtr.cs
- CanonicalFontFamilyReference.cs
- LinkUtilities.cs
- ToolStripProgressBar.cs
- SizeF.cs
- SqlBooleanMismatchVisitor.cs
- UIElementHelper.cs
- Rotation3DAnimation.cs
- CatchBlock.cs
- RecommendedAsConfigurableAttribute.cs
- FileSystemEnumerable.cs
- ContextMarshalException.cs
- SendActivity.cs
- OletxCommittableTransaction.cs
- InvokeWebServiceDesigner.cs
- UnsafeNativeMethodsTablet.cs
- AnnotationAuthorChangedEventArgs.cs
- Page.cs
- ResourceKey.cs
- TextContainer.cs
- SQLGuidStorage.cs
- WindowCollection.cs
- CalendarDesigner.cs
- CodeGeneratorOptions.cs
- Input.cs
- DynamicDocumentPaginator.cs
- StreamingContext.cs
- HtmlElementEventArgs.cs
- RawMouseInputReport.cs
- BitmapSourceSafeMILHandle.cs
- InvalidDataException.cs
- BindingGroup.cs
- SqlConnectionHelper.cs
- GraphicsContainer.cs
- MaskedTextProvider.cs
- ContentPresenter.cs
- XmlAttributeProperties.cs
- SQLConvert.cs
- TableChangeProcessor.cs
- VectorAnimationUsingKeyFrames.cs
- OleDbException.cs
- TraceLog.cs
- ServiceBuildProvider.cs
- SqlProcedureAttribute.cs
- PanelStyle.cs
- ByteAnimation.cs
- PropertySet.cs
- WebPartTransformerCollection.cs
- BufferedGraphicsContext.cs
- ConcurrentStack.cs
- ToolStripScrollButton.cs