Exemple #1
0
        // ========================================
        // constructor
        // ========================================
        public PasteCommand(IEditor target, Point location, string description, string format, EditorPaster creator)
        {
            _target      = target;
            _location    = location;
            _description = description;

            _format  = format;
            _creator = creator;
        }
Exemple #2
0
 // === PasteRole ==========
 public virtual void RegisterPaster(string format, EditorPaster paster)
 {
     _FormatAndPasters.Add(Tuple.Create(format, paster));
 }