public Tenant(TenantId tenantId, string name, string description, bool active = false) { Assertion.ArgumentNotNull(nameof(tenantId), tenantId); Assertion.ArgumentNotNullOrEmpty(nameof(name), name); Assertion.AssertArgumentLength(nameof(name), name, 1, 100); Assertion.ArgumentNotNullOrEmpty(nameof(description), description); Assertion.AssertArgumentLength(nameof(description), description, 1, 200); this.TenantId = tenantId; this.Name = name; this.Description = description; this.Active = active; }