refactor(directory): ♻ convert MaintainerViewModel to have private setters

This commit is contained in:
Collin M. Barrett 2020-08-25 17:15:56 -05:00
parent bdc82486bf
commit 7c90836135

View file

@ -51,12 +51,12 @@ public MaintainerViewModelProfile()
public class MaintainerViewModel
{
public int Id { get; set; }
public string Name { get; set; } = null!;
public Uri? Url { get; set; }
public string? EmailAddress { get; set; }
public string? TwitterHandle { get; set; }
public IEnumerable<int>? FilterListIds { get; set; }
public int Id { get; private set; }
public string Name { get; private set; } = null!;
public Uri? Url { get; private set; }
public string? EmailAddress { get; private set; }
public string? TwitterHandle { get; private set; }
public IEnumerable<int>? FilterListIds { get; private set; }
}
}
}