public override string ToString() { return(Title + " : " + Description + " [ " + CreationDate.ToShortDateString() + " ] " + Copleted.ToString()); }
public bool Equals(TicketResponse other) { return(other.CreationDate.ToShortDateString() == CreationDate.ToShortDateString() && other.Creator == Creator && other.MinsSpent == MinsSpent && other.Response == Response && other.TicketId == TicketId); }
public bool Equals(TicketQueue other) { return (other.CreationDate.ToShortDateString() == CreationDate.ToShortDateString() && other.Creator == Creator && other.Description == Description && other.IsActive == IsActive && other.Name == Name && other.QueueId == QueueId); //TODO: May need to consider comparing tickets at a later date. }
public bool Equals(Ticket other) { return (other.Status.TicketStatusId == Status.TicketStatusId && other.Requestor.RequestorId == Requestor.RequestorId && other.Queue.QueueId == Queue.QueueId && other.Priority == Priority && other.Module.TicketModuleId == Module.TicketModuleId && other.DueDate.ToShortDateString() == DueDate.ToShortDateString() && other.Description == Description && other.Creator == Creator && other.CreationDate.ToShortDateString() == CreationDate.ToShortDateString() && other.Category.TicketCategoryId == Category.TicketCategoryId); }
public string ToCsvFormattedString() { string retVal = string.Empty; retVal += "\"" + Name.Replace("\"", "\"\"") + "\","; retVal += "\"" + Path.Replace("\"", "\"\"") + "\","; retVal += "\"" + SizeInBytes + "\","; retVal += "\"" + CreationDate.ToShortDateString() + "\","; retVal += "\"" + LastModifiedDate.ToShortDateString() + "\","; retVal += "\"" + LastAccessDate.ToShortDateString() + "\","; retVal += "\"" + Error.Replace("\"", "\"\"") + "\""; return(retVal); }
/// <summary> Get Date without time. </summary> public string GetDate() { return(CreationDate.ToShortDateString()); }
public override string ToString() { return ($"{Id};{LastName};{FirstName};{Patronymic};{Iin};{CreationDate.ToShortDateString()};{LegalEntityId}"); }
public override string ToString() { return($"Марка: {Mark} Год: {CreationDate.ToShortDateString()} " + $"номер двигателя: {EngineVin} номер кузова: {BodyVin} Цвет: {Color} Номер: {Number} ФИО владельца: {DriverFIO}"); }
public override string ToString() => $"Выдача терминала {CreationDate.ToShortDateString()} в {CreationDate.ToShortTimeString()}\r\n" + $"со склада {WarehouseMovementOperation.WriteoffWarehouse.Name}";
public override string ToString() => $"Возрат терминала {CreationDate.ToShortDateString()} в {CreationDate.ToShortTimeString()}\r\n" + $"на склад {WarehouseMovementOperation.IncomingWarehouse.Name}";
public string ToDiscordString() { // Header var displayString = "Note #" + NoteID + " by **" + CreatorName + "** for **" + TargetName + " (" + TargetID + ")** on " + CreationDate.ToShortDateString() + "\n"; // Actual note content in code block displayString += "```\n"; displayString += NoteContent; displayString += "```\n"; return(displayString); }