Пример #1
0
        public IPlugin CreateUsing(PluginParameter args)
        {
            var file = new TextFile(args.Filename);

            Viewer = new TextFileViewer(file, args.ContainerWidth);
            return(this);
        }
Пример #2
0
 public IPlugin CreateUsing(PluginParameter args)
 {
     var file = new TextFile(args.Filename);
     Viewer = new TextFileViewer(file, args.ContainerWidth);
     return this;
 }