public StrongPoint(string name, EClassStrongPoint classStrongPoint, string description = null) { this.Id = Guid.NewGuid(); this.Name = name; this.ClassStrongPoint = classStrongPoint; this.Description = description; }
public CreateStrongPointCommand(string name, EClassStrongPoint classStrongPoint, Guid idCoachee, string description = null) { this.IdCoachee = idCoachee; this.Name = name; this.Class = classStrongPoint; this.Description = description; }
public ChangeStrongPointCommand(Guid id, string name, EClassStrongPoint classStrongPoint, string description = null) { this.Id = id; this.Name = name; this.Class = classStrongPoint; this.Description = description; }
public void ChangeClass(EClassStrongPoint classStrongPoint) { if (!this.ChangeClassScopeIsValid(classStrongPoint)) { return; } this.ClassStrongPoint = classStrongPoint; }
public static bool ChangeClassScopeIsValid(this StrongPoint strongPoint, EClassStrongPoint classStrongPoint) { return(AssertionConcern.IsSatisfiedBy( AssertionConcern.AssertArgumentNotNull(classStrongPoint, Errors.InvalidClassStrongPoint) )); }
public static bool ChangeClassScopeIsValid(this StrongPoint strongPoint, EClassStrongPoint classStrongPoint) { return AssertionConcern.IsSatisfiedBy( AssertionConcern.AssertArgumentNotNull(classStrongPoint, Errors.InvalidClassStrongPoint) ); }
public void ChangeClass(EClassStrongPoint classStrongPoint) { if (!this.ChangeClassScopeIsValid(classStrongPoint)) return; this.ClassStrongPoint = classStrongPoint; }