/// <summary> /// Returns true if the payload type is included with or supported by the context type /// </summary> /// <param name="payloadType"></param> /// <returns></returns> public override bool HasPayloadType(Type payloadType) { return(payloadType.IsInstanceOfType(this) || ReceiveContext.HasPayloadType(payloadType)); }
public virtual bool HasPayloadType(Type contextType) { return(_context.HasPayloadType(contextType)); }