Class DocumentReferenceBuilder
Fluent builder for constructing a DocumentReference (supporting document or attachment).
public sealed class DocumentReferenceBuilder
- Inheritance
-
DocumentReferenceBuilder
- Inherited Members
Methods
Build()
public DocumentReference Build()
Returns
WithDescription(string)
public DocumentReferenceBuilder WithDescription(string description)
Parameters
descriptionstring
Returns
WithEmbeddedDocument(byte[], MimeCode, string?)
public DocumentReferenceBuilder WithEmbeddedDocument(byte[] content, MimeCode mimeCode, string? fileName = null)
Parameters
Returns
WithEmbeddedDocument(byte[], string, string?)
public DocumentReferenceBuilder WithEmbeddedDocument(byte[] content, string mimeCode, string? fileName = null)
Parameters
Returns
WithExternalUri(string)
public DocumentReferenceBuilder WithExternalUri(string uri)
Parameters
uristring
Returns
WithId(string)
public DocumentReferenceBuilder WithId(string id)
Parameters
idstring