Table of Contents

Class DocumentInfo

Namespace: Casewhere.SystemTypes
Assembly: Casewhere.SystemTypes.dll

Represents the document information that is bound to a data object property.

public class DocumentInfo : IEquatable<DocumentInfo>

Inheritance

objectDocumentInfo

Implements

IEquatable<DocumentInfo>

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<DocumentInfo>(DocumentInfo)

Constructors

DocumentInfo()

public DocumentInfo()

Properties

FileName

File name

public string FileName { get; set; }

Property Value

string

Id

Id of the document.

public Guid Id { get; set; }

Property Value

Guid

Uri

The Uri for working with API.

[JsonIgnore]
public string Uri { get; }

Property Value

string

Methods

Create(string)

Creates the DocumentInfo object.

public static DocumentInfo Create(string fileName)

Parameters

fileName string

Returns

DocumentInfo

Equals(DocumentInfo)

public bool Equals(DocumentInfo other)

Parameters

other DocumentInfo

Returns

bool