Repositories (1)
gitea.net
1 snippets stored for this repo
var current = await Endpoint.GetCurrent();
if (current.ID == ID)
{
throw new InvalidOperationException(); // cannot kill yourself ;-)
}
using (var rest = Endpoint.Client.CreateBaseClient())