public void Render(PreProc instance) { if (instance == null) { throw new ArgumentNullException(nameof(instance)); } SetCmdType(instance.Type); txtPreProc.Text = instance.Cmd; }
public PreProc Export(PreProc obj) => (obj ?? throw new ArgumentNullException(nameof(obj))).Configure(Type, Cmd);