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
- CodeArrayCreateExpression.cs
- Calendar.cs
- CallbackDebugBehavior.cs
- ComponentResourceManager.cs
- ObjectPropertyMapping.cs
- OleDbException.cs
- DataGridItem.cs
- ManifestResourceInfo.cs
- DeferredReference.cs
- FieldAccessException.cs
- SqlConnectionFactory.cs
- ClaimTypeElement.cs
- ValidationPropertyAttribute.cs
- PassportPrincipal.cs
- DWriteFactory.cs
- Item.cs
- _emptywebproxy.cs
- TextDecoration.cs
- DesignTimeParseData.cs
- URIFormatException.cs
- CommunicationException.cs
- AddInAdapter.cs
- TypeResolvingOptionsAttribute.cs
- AspProxy.cs
- MetadataUtilsSmi.cs
- MessageQueue.cs
- Journaling.cs
- SQLSingle.cs
- ProcessHost.cs
- DesignerDataStoredProcedure.cs
- ExtendedTransformFactory.cs
- SizeAnimationBase.cs
- BitmapEffectGroup.cs
- SmiRequestExecutor.cs
- SchemaEntity.cs
- SqlRewriteScalarSubqueries.cs
- FixedSOMPageConstructor.cs
- SqlWorkflowPersistenceService.cs
- ConfigXmlReader.cs
- TableLayout.cs
- HttpException.cs
- Logging.cs
- ListBox.cs
- DataObjectEventArgs.cs
- MdiWindowListItemConverter.cs
- _HTTPDateParse.cs
- ChildTable.cs
- AccessibleObject.cs
- NegotiateStream.cs
- DesignerCategoryAttribute.cs
- RawKeyboardInputReport.cs
- LinkDescriptor.cs
- Nullable.cs
- Journal.cs
- SmtpDigestAuthenticationModule.cs
- ObjectMemberMapping.cs
- Animatable.cs
- SplineKeyFrames.cs
- Repeater.cs
- BitmapFrameEncode.cs
- JournalEntryListConverter.cs
- TileBrush.cs
- SessionSwitchEventArgs.cs
- Restrictions.cs
- EmptyCollection.cs
- DataGridViewButtonCell.cs
- PtsHelper.cs
- ImagingCache.cs
- ResourceContainer.cs
- TrackingServices.cs
- ApplicationDirectoryMembershipCondition.cs
- ManagedFilter.cs
- Message.cs
- Light.cs
- SoapIgnoreAttribute.cs
- TextRangeAdaptor.cs
- HostSecurityManager.cs
- QilVisitor.cs
- MailAddressCollection.cs
- VersionUtil.cs
- ExtensionSimplifierMarkupObject.cs
- CompilationLock.cs
- ShaperBuffers.cs
- DPTypeDescriptorContext.cs
- SerialPinChanges.cs
- DocumentApplicationJournalEntry.cs
- LineServices.cs
- BooleanFunctions.cs
- BamlLocalizableResourceKey.cs
- HashMembershipCondition.cs
- PhonemeConverter.cs
- Table.cs
- AnonymousIdentificationSection.cs
- RelatedImageListAttribute.cs
- MediaTimeline.cs
- XmlDocumentSchema.cs
- MonitoringDescriptionAttribute.cs
- WinEventWrap.cs
- RuntimeResourceSet.cs
- ToolBarPanel.cs