private string [] GetParameters(AvailabilityVw availabilityVw) { return(new string [] { availabilityVw.Id.ToString(), availabilityVw.Name, availabilityVw.MinSeniority.ToString(), availabilityVw.MinReusePeriod.ToString() }); }
private string [] GetParameters(Availability availability) { AvailabilityVw availabilityVw = new AvailabilityVw(); availabilityVw.Id = availability.Id; availabilityVw.Name = availability.Name; availabilityVw.MinSeniority = availability.MinSeniority; availabilityVw.MinReusePeriod = availability.MinReusePeriod; return(GetParameters(availabilityVw)); }
public GarantorsXmlFormatter(AvailabilityVw availabilityVw) { parametersFormat = GetParametersFormat(); this.Parameters = GetParameters(availabilityVw); this.strParameters = XmlFormat(parametersFormat, Parameters); }