public static IFtpCommandHandlerExtensionInformation GetInformation( this Type commandHandlerType, IFtpCommandHandlerInformation extensionOf, FtpCommandHandlerExtensionAttribute attribute) { return(new CommandHandlerExtensionInformation(extensionOf, commandHandlerType, attribute)); }
public CommandHandlerExtensionInformation( IFtpCommandHandlerInformation extensionOf, Type type, FtpCommandHandlerExtensionAttribute attribute) { Name = attribute.Name; IsLoginRequired = attribute.IsLoginRequired ?? extensionOf.IsLoginRequired; IsAbortable = extensionOf.IsAbortable; ExtensionOf = extensionOf; Type = type; }