Skip to content

Repository Class

Definition

C#
public record Repository : IEquatable<Repository>

Inheritance object

Implements IEquatable<Repository>

Constructors

Repository(string, string, string, string?, string?)

C#
public Repository(string Id, string Name, string Type = "git", string? Endpoint = null, string? Ref = null)

Parameters

Id string

Name string

Type string

Endpoint string

Ref string

Properties

Id

C#
public string Id { get; init; }

Name

C#
public string Name { get; init; }

Type

C#
public string Type { get; init; }

Endpoint

C#
public string? Endpoint { get; init; }

Ref

C#
public string? Ref { get; init; }