public void RecordDateTimePicker(AppUsageContext context, AppUsageOperation operation, string details = null) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (operation == null) { throw new ArgumentNullException(nameof(operation)); } this.Record(context, operation, ControlType.DateTimePicker, details); }
public void Record(AppUsageContext context, AppUsageOperation operation, ControlType controlType, string details = null) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (operation == null) { throw new ArgumentNullException(nameof(operation)); } // TODO : !!! long deviceId = -1; var username = @"Username"; var version = @"Version"; //var appUsage = new AppUsage(context.Name, operation.Name, controlType, details ?? string.Empty, DateTime.Now, username, version, deviceId); //this.Adapter.Insert(appUsage); }
public void RecordDateTimePicker(AppUsageContext context, AppUsageOperation operation, string details = null) { if (context == null) throw new ArgumentNullException(nameof(context)); if (operation == null) throw new ArgumentNullException(nameof(operation)); this.Record(context, operation, ControlType.DateTimePicker, details); }
public void Record(AppUsageContext context, AppUsageOperation operation, ControlType controlType, string details = null) { if (context == null) throw new ArgumentNullException(nameof(context)); if (operation == null) throw new ArgumentNullException(nameof(operation)); // TODO : !!! long deviceId = -1; var username = @"Username"; var version = @"Version"; //var appUsage = new AppUsage(context.Name, operation.Name, controlType, details ?? string.Empty, DateTime.Now, username, version, deviceId); //this.Adapter.Insert(appUsage); }