Add not null attribute

Co-authored-by: Enis Necipoglu <iletisim@enisnecipoglu.com>
pull/7806/head
İlkay İlknur 4 years ago committed by GitHub
parent 88959c9022
commit 4602d1aa97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ namespace Volo.CmsKit.Tags
TenantId = tenantId;
}
public virtual void SetName(string name)
public virtual void SetName([NotNull] string name)
{
Name = Check.NotNullOrEmpty(name, nameof(name), TagConsts.MaxNameLength);
}

Loading…
Cancel
Save