public bool Equals(TypeToken other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Name, Name) && Equals(other.Namespace, Namespace) && Equals(other.Assembly, Assembly)); }
public ActionToken(ActionCall call) { MethodName = call.Method.Name; HandlerType = new TypeToken(call.HandlerType); if (call.HasInput) { InputType = new TypeToken(call.InputType()); } if (call.HasOutput) { OutputType = new TypeToken(call.OutputType()); } }
public bool Equals(TypeToken other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Name, Name) && Equals(other.Namespace, Namespace) && Equals(other.Assembly, Assembly); }