BlobService.Insert Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Overloads
Insert(Blob, Stream) | Inserts a Blob |
Insert(External |
Inserts an external Blob |
Insert(string) | Create a Blob from the content in the specified file. |
Insert(Blob, Stream)
Inserts a Blob
public static Blob Insert(Blob blob, Stream content)
Parameters
- blob
- Blob
The blob meta data.
- content
- System.IO.Stream
The input stream from which the content should be read.
Returns
Insert(ExternalBlob)
Inserts an external Blob
public static Blob Insert(ExternalBlob external)
Parameters
- external
- ExternalBlob
The blob meta data.
Returns
Insert(string)
Create a Blob from the content in the specified file.
public static Blob Insert(string path)
Parameters
- path
- string
A file path containing the content to insert.