Browse Source
Add not null attribute
Co-authored-by: Enis Necipoglu <iletisim@enisnecipoglu.com>
pull/7806/head
İlkay İlknur
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/Tag.cs
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|