public void SetDeviceCpuBits(UserAgentModel record, string value)
 {
     record.DeviceCpuBits = value;
 }
 public void SetOperatingSystemName(UserAgentModel record, string value)
 {
     record.OperatingSystemName = value;
 }
 public void SetOperatingSystemVersion(UserAgentModel record, string value)
 {
     Version.TryParse(value, out var version);
     record.OperatingSystemVersion = version;
 }
 public void SetLayoutEngineVersion(UserAgentModel record, string value)
 {
     Version.TryParse(value, out var version);
     record.LayoutEngineVersion = version;
 }
 public void SetOperatingSystemClass(UserAgentModel record, string value)
 {
     record.OperatingSystemClass = value;
 }
 public void SetLayoutEngineClass(UserAgentModel record, string value)
 {
     record.LayoutEngineClass = value;
 }
 public void SetLayoutEngineName(UserAgentModel record, string value)
 {
     record.LayoutEngineName = value;
 }
 public void SetDeviceName(UserAgentModel record, string value)
 {
     record.DeviceName = value;
 }
 public void SetDeviceBrand(UserAgentModel record, string value)
 {
     record.DeviceBrand = value;
 }
 public void SetAgentName(UserAgentModel record, string value)
 {
     record.AgentName = value;
 }
 public void SetAgentClass(UserAgentModel record, string value)
 {
     record.AgentClass = value;
 }
        public IUserAgentModel Enrich(string userAgent)
        {
            var model = new UserAgentModel(userAgent);

            return(userAgentAnalyzer.Map(model));
        }