Beispiel #1
0
        public void Render(PreProc instance)
        {
            if (instance == null)
            {
                throw new ArgumentNullException(nameof(instance));
            }

            SetCmdType(instance.Type);
            txtPreProc.Text = instance.Cmd;
        }
Beispiel #2
0
 public PreProc Export(PreProc obj)
 => (obj ?? throw new ArgumentNullException(nameof(obj))).Configure(Type, Cmd);