public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (NameElement != null) { result.AddRange(NameElement.Validate()); } if (SoftwareElement != null) { result.AddRange(SoftwareElement.Validate()); } if (VersionElement != null) { result.AddRange(VersionElement.Validate()); } if (Contact != null) { result.AddRange(Contact.Validate()); } if (EndpointElement != null) { result.AddRange(EndpointElement.Validate()); } return(result); }
public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (NameElement != null) { result.AddRange(NameElement.Validate()); } if (Target != null) { result.AddRange(Target.Validate()); } if (EndpointElement != null) { result.AddRange(EndpointElement.Validate()); } return(result); }