예제 #1
0
        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()));
        }
예제 #2
0
 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() );
 }