Class AttachmentInfoFactory
Inheritance
System.Object
AttachmentInfoFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.Metadata
Assembly: CrashCABN.Metadata.Attachments.dll
Syntax
public static class AttachmentInfoFactory
Methods
View SourceFromStream(String, Stream, ILogger, Nullable<Int64>)
Initializes a new instance of the AttachmentInfo class.
Declaration
public static async Task<AttachmentInfo> FromStream(string name, Stream s, ILogger logger, long? sizeThreshold)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The attachment name. |
System.IO.Stream | s | The attachment value stream. |
ILogger | logger | |
System.Nullable<System.Int64> | sizeThreshold |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AttachmentInfo> |