String ReplaceText(String format, UserLoginSessionEvent theEvent) { // Do base first format = ReplaceText(format, theEvent as Event); // Then specific values format = format.Replace("{ipAddress}", theEvent.ipAddress); return(format); }
String ReplaceText(String format, UserLoginSessionEvent theEvent) { // Do base first format = ReplaceText(format, theEvent as Event); // Then specific values format = format.Replace("{ipAddress}", theEvent.ipAddress); return format; }