コード例 #1
0
 private string [] GetParameters(AvailabilityVw availabilityVw)
 {
     return(new string []
     {
         availabilityVw.Id.ToString(),
         availabilityVw.Name,
         availabilityVw.MinSeniority.ToString(),
         availabilityVw.MinReusePeriod.ToString()
     });
 }
コード例 #2
0
        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));
        }
コード例 #3
0
 public GarantorsXmlFormatter(AvailabilityVw availabilityVw)
 {
     parametersFormat   = GetParametersFormat();
     this.Parameters    = GetParameters(availabilityVw);
     this.strParameters = XmlFormat(parametersFormat, Parameters);
 }