public static SocketMessage GetMessageFor(Push push) { return(new SocketMessage { Title = "Git - [PUSH] Repository : " + push.Repository.FullName, DataType = push.GetType(), Data = push, IsImportant = false, }); }