Machine.Mta.InspectBusTypes.IsConsumer C# (CSharp) Method

IsConsumer() public method

public IsConsumer ( Type type ) : bool
type System.Type
return bool
    public bool IsConsumer(Type type)
    {
      return type.IsImplementationOfGenericType(typeof(IConsume<>));
    }