public override void WriteProperties(ReminderItem objectType) { base.WriteProperties(objectType); Console.WriteLine( $"ChatName: {ChatName},\n" + $"AccountName: {AccountName}\n"); }
public virtual void WriteProperties(ReminderItem objectType) { Console.WriteLine( $"ObjectType: {objectType.GetType()},\n" + $"AlarmDate: {AlarmDate},\n" + $"AlarmMessage: {AlarmMessage},\n" + $"TimeToAlarm: {TimeToAlarm},\n" + $"IsOutdated: {IsOutdated}\n"); }
public override void WriteProperties(ReminderItem objectType) { base.WriteProperties(objectType); Console.WriteLine( $"PhoneNumber: {PhoneNumber},\n"); }