public virtual bool TryGetPayload <T>(out T value) where T : class { if (_parent != null) { return(_parent.TryGetPayload(out value)); } value = null; return(false); }
public virtual bool TryGetPayload <TPayload>(out TPayload payload) where TPayload : class { if (_parent != null) { return(_parent.TryGetPayload(out payload)); } payload = null; return(false); }