public CommandHandlerInformation(Type type, FtpCommandHandlerAttribute attribute)
 {
     Name            = attribute.Name;
     IsLoginRequired = attribute.IsLoginRequired;
     IsAbortable     = attribute.IsAbortable;
     Type            = type;
     IsExtensible    = typeof(IFtpCommandHandlerExtensionHost).GetTypeInfo().IsAssignableFrom(type.GetTypeInfo());
 }
 public static IFtpCommandHandlerInformation GetInformation(this Type commandHandlerType, FtpCommandHandlerAttribute attribute)
 {
     return(new CommandHandlerInformation(commandHandlerType, attribute));
 }