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
- MorphHelper.cs
- InkPresenterAutomationPeer.cs
- NamespaceList.cs
- AssemblyNameEqualityComparer.cs
- HashAlgorithm.cs
- SelectionProcessor.cs
- XmlSerializerFormatAttribute.cs
- ZipPackage.cs
- TextPenaltyModule.cs
- Triangle.cs
- Soap11ServerProtocol.cs
- Button.cs
- TemplateControlParser.cs
- DependencyObjectPropertyDescriptor.cs
- MDIWindowDialog.cs
- DataKeyCollection.cs
- Attachment.cs
- TemplateControlParser.cs
- RuleSetReference.cs
- GlyphRunDrawing.cs
- TextElementCollection.cs
- MatrixTransform.cs
- FontDriver.cs
- OleDbCommand.cs
- MetadataItem.cs
- DownloadProgressEventArgs.cs
- UniqueConstraint.cs
- TreeNodeBinding.cs
- PenThread.cs
- TagPrefixCollection.cs
- MenuAdapter.cs
- QueueSurrogate.cs
- AggregationMinMaxHelpers.cs
- GPPOINT.cs
- GAC.cs
- Byte.cs
- SHA256Managed.cs
- DesignTimeTemplateParser.cs
- Stroke.cs
- TriggerBase.cs
- ToolBarButton.cs
- Vector3DAnimationUsingKeyFrames.cs
- sqlpipe.cs
- XmlNavigatorStack.cs
- EmptyEnumerable.cs
- EncoderParameter.cs
- DateTimeSerializationSection.cs
- HttpRuntimeSection.cs
- FormsAuthenticationModule.cs
- ViewManager.cs
- MediaSystem.cs
- XamlStream.cs
- Normalization.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- BuildProvider.cs
- DBNull.cs
- mansign.cs
- DbConnectionPoolCounters.cs
- SoapCommonClasses.cs
- ImageAttributes.cs
- BuildProvider.cs
- OdbcParameter.cs
- FileUpload.cs
- XmlIgnoreAttribute.cs
- QilInvokeLateBound.cs
- AtomServiceDocumentSerializer.cs
- BitmapFrame.cs
- SqlTriggerAttribute.cs
- DataSourceHelper.cs
- RemotingConfigParser.cs
- MissingFieldException.cs
- Converter.cs
- SourceFileInfo.cs
- EditingMode.cs
- JsonXmlDataContract.cs
- AvtEvent.cs
- ZipIOLocalFileHeader.cs
- DataGridViewComboBoxColumn.cs
- RectAnimationBase.cs
- SimpleTypeResolver.cs
- TypePresenter.xaml.cs
- Update.cs
- ObjectAssociationEndMapping.cs
- EventData.cs
- DelayLoadType.cs
- Compiler.cs
- PolyLineSegment.cs
- ConfigXmlElement.cs
- UnsafeNativeMethods.cs
- UIAgentRequest.cs
- XmlSchemaSimpleTypeUnion.cs
- TouchDevice.cs
- ProtectedConfigurationSection.cs
- BinaryObjectWriter.cs
- Keyboard.cs
- RawStylusInputReport.cs
- XPathItem.cs
- ContentElementAutomationPeer.cs
- WindowsFormsEditorServiceHelper.cs
- SecuritySessionSecurityTokenProvider.cs