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