public override int CompareTo(ExportHandler <TRequest, TResponse> other)
        {
            var otherPlugin = other as PluginExportHandler <TRequest, TResponse>;

            if (otherPlugin == null)
            {
                return(1);
            }

            return(_plugin.Key.CompareTo(otherPlugin._plugin.Key));
        }
        public override int CompareTo(ExportHandler <TRequest, TResponse> other)
        {
            var otherHandler = other as RequestHandlerExportHandler <TRequest, TResponse>;

            if (otherHandler == null)
            {
                return(1);
            }

            return(_handler.GetType().ToString().CompareTo(otherHandler._handler.GetType().ToString()));
        }
Exemplo n.º 3
0
 public abstract int CompareTo(ExportHandler <TRequest, TResponse> other);