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
- WindowsStatic.cs
- AnnotationDocumentPaginator.cs
- ValidateNames.cs
- NotifyCollectionChangedEventArgs.cs
- UnsafeNativeMethods.cs
- ReferencedAssembly.cs
- ToolStripItem.cs
- TemplateBindingExtensionConverter.cs
- ContextBase.cs
- TypeReference.cs
- OleDbCommandBuilder.cs
- Context.cs
- XmlNodeComparer.cs
- HtmlGenericControl.cs
- WebCategoryAttribute.cs
- EntityReference.cs
- SecurityException.cs
- BindingList.cs
- NameScopePropertyAttribute.cs
- NetStream.cs
- Codec.cs
- SocketException.cs
- DesignerObjectListAdapter.cs
- ApplicationException.cs
- XPathQilFactory.cs
- loginstatus.cs
- ISO2022Encoding.cs
- SoapTypeAttribute.cs
- ManifestResourceInfo.cs
- CreateUserWizard.cs
- AuthenticationManager.cs
- HttpInputStream.cs
- DrawingVisualDrawingContext.cs
- ElementFactory.cs
- InitializerFacet.cs
- GridItemPattern.cs
- QilReference.cs
- DataStorage.cs
- CodeConstructor.cs
- Html32TextWriter.cs
- FocusWithinProperty.cs
- DataRecordInternal.cs
- SetStoryboardSpeedRatio.cs
- Control.cs
- DataGridViewCheckBoxCell.cs
- serverconfig.cs
- FontNameEditor.cs
- BitmapFrame.cs
- XmlTextWriter.cs
- EntityDataSourceDataSelection.cs
- DeviceFiltersSection.cs
- CodeObjectCreateExpression.cs
- RoleServiceManager.cs
- PropVariant.cs
- GB18030Encoding.cs
- ParameterReplacerVisitor.cs
- Storyboard.cs
- CodeMethodReturnStatement.cs
- WebAdminConfigurationHelper.cs
- CustomCredentialPolicy.cs
- GridViewRowCollection.cs
- RuleSettingsCollection.cs
- CssClassPropertyAttribute.cs
- OdbcEnvironmentHandle.cs
- MetadataItemCollectionFactory.cs
- ScriptManager.cs
- BoundColumn.cs
- LinqDataSourceUpdateEventArgs.cs
- BehaviorEditorPart.cs
- CodePageUtils.cs
- ThousandthOfEmRealPoints.cs
- CatchBlock.cs
- Geometry3D.cs
- Pointer.cs
- DataViewManagerListItemTypeDescriptor.cs
- X509UI.cs
- DataGridViewRowPrePaintEventArgs.cs
- LinqDataSourceDeleteEventArgs.cs
- WindowShowOrOpenTracker.cs
- XmlSchemaImporter.cs
- ProxyManager.cs
- InstallerTypeAttribute.cs
- UserUseLicenseDictionaryLoader.cs
- TextEditorMouse.cs
- RTLAwareMessageBox.cs
- ValidatingPropertiesEventArgs.cs
- TextElementEditingBehaviorAttribute.cs
- TableItemStyle.cs
- ItemsPanelTemplate.cs
- CatalogPart.cs
- PartitionedDataSource.cs
- OdbcConnectionPoolProviderInfo.cs
- controlskin.cs
- WebRequestModuleElement.cs
- Registry.cs
- PropertyInfoSet.cs
- _SslState.cs
- Quaternion.cs
- ActivityWithResultConverter.cs
- ZipPackage.cs