示例#1
0
        public ns2SoftwareTyp ToElbaData()
        {
            ns2SoftwareTyp elbaSoftware = new ns2SoftwareTyp
            {
                Name       = Name,
                ID         = Id,
                Version    = Version,
                Hersteller = Manufacturer
            };

            return(elbaSoftware);
        }
示例#2
0
 private bool SoftwareHasEmptyFields(ns2SoftwareTyp software)
 {
     return(string.IsNullOrEmpty(software.ID) || string.IsNullOrEmpty(software.Name) ||
            string.IsNullOrEmpty(software.Version) || string.IsNullOrEmpty(software.Hersteller));
 }