Table of Contents

Class File

Namespace
Crews.PlanningCenter.Api.People
Assembly
Crews.PlanningCenter.Api.dll

Represents a file, such as a profile picture or document.

[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record File : IEquatable<File>
Inheritance
File
Implements
Inherited Members

Constructors

File()

public File()

File(File)

protected File(File original)

Parameters

original File

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Url

The URL where the file can be accessed.

public Uri? Url { get; init; }

Property Value

Uri

Methods

Equals(File?)

public virtual bool Equals(File? other)

Parameters

other File

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(File?, File?)

public static bool operator ==(File? left, File? right)

Parameters

left File
right File

Returns

bool

operator !=(File?, File?)

public static bool operator !=(File? left, File? right)

Parameters

left File
right File

Returns

bool