public ViewAttribute(string name) { Requires.NotNullOrWhiteSpace(name, nameof(name)); this.name = name; }