Ejemplo n.º 1
0
 internal void SetDefaults(DeviceContextData source)
 {
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceType, source.Type);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceId, source.Id);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceOSVersion, source.OperatingSystem);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceOEMName, source.OemName);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceModel, source.Model);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceNetwork, source.NetworkType);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceScreenResolution, source.ScreenResolution);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceLanguage, source.Language);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceIp, source.Ip);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceMachineName, source.MachineName);
 }
 internal void SetDefaults(DeviceContextData source)
 {
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceType, source.Type);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceId, source.Id);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceOS, source.OperatingSystem);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceOEMName, source.OemName);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceModel, source.Model);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceNetwork, source.NetworkType);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceScreenResolution, source.ScreenResolution);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceLanguage, source.Language);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceIp, source.Ip);
     this.tags.InitializeTagValue(ContextTagKeys.Keys.DeviceMachineName, source.MachineName);
 }