public static Process GetProcess(this ITrafficRow row) { try { return(Process.GetProcessById(row.Pid)); } catch (ArgumentException) { return(null); } }
public void Deconstruct(out ITrafficRow origin, out ITrafficRow updated) { origin = this.Origin; updated = this.Updated; }
internal ConnectionListUpdatedEventArgs(ITrafficRow origin, ITrafficRow updated) { this.Origin = origin; this.Updated = updated; }
internal ConnectionListRemovedEventArgs(ITrafficRow removed) { this.Removed = removed; }
internal ConnectionListAddedEventArgs(ITrafficRow added) { this.Added = added; }
public bool Equals([AllowNull] ITrafficRow other) { return(this.GetHashCode().Equals(other.GetHashCode())); }
public int CompareTo([AllowNull] ITrafficRow other) { return(this.State - other.State); }