Table of Contents

Class ImageUrl

Namespace
Crews.PlanningCenter.Api.Common
Assembly
Crews.PlanningCenter.Api.dll

Defines an undocumented container type for image URLs used in Check-ins resources.

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

Constructors

ImageUrl()

public ImageUrl()

ImageUrl(ImageUrl)

protected ImageUrl(ImageUrl original)

Parameters

original ImageUrl

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Url

The URL of the image.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("url")]
public Uri? Url { get; init; }

Property Value

Uri

Methods

Equals(ImageUrl?)

public virtual bool Equals(ImageUrl? other)

Parameters

other ImageUrl

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 ==(ImageUrl?, ImageUrl?)

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

Parameters

left ImageUrl
right ImageUrl

Returns

bool

operator !=(ImageUrl?, ImageUrl?)

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

Parameters

left ImageUrl
right ImageUrl

Returns

bool