public static Ctrl.CommandItem CreateCommandItem(Hix.IImporter importer, Type target) { var command = new ImportCommand(importer, target); return(new Ctrl.CommandItem(command, command.Name, importer.MakeCaptionString())); }
public static Ctrl.CommandItem CreateCommandItem( Hix.IImporter importer, Type target ) { var command = new ImportCommand( importer, target ); return new Ctrl.CommandItem( command, command.Name, importer.MakeCaptionString() ); }