Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Abstractions / HttpPostedFileWrapper.cs / 1305376 / HttpPostedFileWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { using System; using System.IO; using System.Runtime.CompilerServices; [TypeForwardedFrom("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] public class HttpPostedFileWrapper : HttpPostedFileBase { private HttpPostedFile _file; public HttpPostedFileWrapper(HttpPostedFile httpPostedFile) { if (httpPostedFile == null) { throw new ArgumentNullException("httpPostedFile"); } _file = httpPostedFile; } public override int ContentLength { get { return _file.ContentLength; } } public override string ContentType { get { return _file.ContentType; } } public override string FileName { get { return _file.FileName; } } public override Stream InputStream { get { return _file.InputStream; } } public override void SaveAs(string filename) { _file.SaveAs(filename); } } } // 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
- JsonWriter.cs
- WebHttpDispatchOperationSelector.cs
- input.cs
- Timer.cs
- XmlSchemaSimpleContentRestriction.cs
- DebugController.cs
- CodeTypeMemberCollection.cs
- DrawItemEvent.cs
- Random.cs
- DispatcherOperation.cs
- ServiceNameElementCollection.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlSchemaInferenceException.cs
- ContextConfiguration.cs
- RoutingExtension.cs
- CrossAppDomainChannel.cs
- HttpResponseHeader.cs
- FieldBuilder.cs
- followingquery.cs
- Substitution.cs
- FileSystemWatcher.cs
- HyperLinkStyle.cs
- SafeFileMapViewHandle.cs
- OdbcReferenceCollection.cs
- WindowsTooltip.cs
- ColorBlend.cs
- ParallelTimeline.cs
- WinEventHandler.cs
- DateTime.cs
- DesignerTextWriter.cs
- ExpressionDumper.cs
- SystemPens.cs
- InplaceBitmapMetadataWriter.cs
- ToolStripButton.cs
- CatalogPart.cs
- ProxyHwnd.cs
- AsyncCompletedEventArgs.cs
- SynchronizedReadOnlyCollection.cs
- Separator.cs
- StringUtil.cs
- ProfileProvider.cs
- FormatSettings.cs
- XmlSchemaAnyAttribute.cs
- HttpException.cs
- NamespaceEmitter.cs
- CacheForPrimitiveTypes.cs
- AttributeData.cs
- TextTreeUndoUnit.cs
- SiteMapProvider.cs
- Constants.cs
- XmlStreamStore.cs
- MasterPage.cs
- PngBitmapEncoder.cs
- SafeCertificateContext.cs
- LocalizableAttribute.cs
- FixedNode.cs
- StaticContext.cs
- DbDeleteCommandTree.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SemaphoreFullException.cs
- DesigntimeLicenseContext.cs
- CompilerErrorCollection.cs
- TdsParserSafeHandles.cs
- MetricEntry.cs
- SQLInt64Storage.cs
- ComponentCommands.cs
- IDReferencePropertyAttribute.cs
- OracleConnectionFactory.cs
- ControlUtil.cs
- MimeTypeAttribute.cs
- EntityTransaction.cs
- HtmlLink.cs
- ApplicationSecurityManager.cs
- CurrencyManager.cs
- AxHost.cs
- XmlSchemaGroupRef.cs
- FaultContractInfo.cs
- DataGridClipboardHelper.cs
- ListDictionary.cs
- ScriptServiceAttribute.cs
- Library.cs
- CoreSwitches.cs
- XslException.cs
- NavigationProperty.cs
- VirtualDirectoryMappingCollection.cs
- AccessorTable.cs
- ExpressionEditorAttribute.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- MultipleFilterMatchesException.cs
- PassportPrincipal.cs
- ConfigurationSettings.cs
- Executor.cs
- ConfigPathUtility.cs
- HtmlHistory.cs
- PropertyTabChangedEvent.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ProcessThreadCollection.cs
- StreamAsIStream.cs
- EdgeProfileValidation.cs
- CopyOfAction.cs