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

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