public static ClockStatus GetStatus(this ClockServer me, IPAddress remoteIpAddress, string?userName) { if (me is null) { throw new ArgumentNullException(nameof(me)); } me.UpdateUser(remoteIpAddress, userName); return(me.GetStatus()); }
public ClockStatus Time() { return(Server.GetStatus()); }