Méthode | Description | |
---|---|---|
GenerateEmailAllStudents ( Ceremony ceremony, Student student, string body, TemplateType templateType, Registration registration, Attachment attachment, System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url ) : string | ||
GenerateExtraTicketRequestPetitionConfirmation ( RegistrationParticipation registrationParticipation, Template template ) : string | ||
GenerateExtraTicketRequestPetitionDecision ( RegistrationParticipation registrationParticipation, Template template, Attachment attachment, System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url, string body = null ) : string | ||
GenerateMoveMajor ( RegistrationParticipation registrationParticipation, Template template ) : string | ||
GenerateRegistrationConfirmation ( RegistrationParticipation registrationParticipation, Template template ) : string | ||
GenerateRegistrationPetitionApproved ( RegistrationPetition registrationPetition, Template template ) : string | ||
GenerateRegistrationPetitionConfirmation ( RegistrationPetition registrationPetition, Template template ) : string | ||
GenerateVisaLetterRequestDecision ( VisaLetter visaLetter, Template template, System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url ) : string | ||
ValidateTemplate ( Template template, List |
Méthode | Description | |
---|---|---|
GetAbsoluteUrl ( System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url, string relative ) : string | ||
HandleBody ( string body ) : string |
Takes the template text from the database and converts it to the finalized text
|
|
ValidateBody ( string body, TemplateType templateType, List |
Iterates through the body text and validates all tokens against list of tokens
|
|
replaceParameter ( string parameter ) : string |
Returns the string data that should be replaced into the template text to create the final letter for the students.
|
public GenerateEmailAllStudents ( Ceremony ceremony, Student student, string body, TemplateType templateType, Registration registration, Attachment attachment, System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url ) : string | ||
ceremony | Ceremony | |
student | Student | |
body | string | |
templateType | TemplateType | |
registration | Registration | |
attachment | Attachment | |
request | System.Web.HttpRequestBase | |
url | System.Web.Mvc.UrlHelper | |
Résultat | string |
public GenerateExtraTicketRequestPetitionConfirmation ( RegistrationParticipation registrationParticipation, Template template ) : string | ||
registrationParticipation | RegistrationParticipation | |
template | Template | |
Résultat | string |
public GenerateExtraTicketRequestPetitionDecision ( RegistrationParticipation registrationParticipation, Template template, Attachment attachment, System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url, string body = null ) : string | ||
registrationParticipation | RegistrationParticipation | |
template | Template | |
attachment | Attachment | |
request | System.Web.HttpRequestBase | |
url | System.Web.Mvc.UrlHelper | |
body | string | |
Résultat | string |
public GenerateMoveMajor ( RegistrationParticipation registrationParticipation, Template template ) : string | ||
registrationParticipation | RegistrationParticipation | |
template | Template | |
Résultat | string |
public GenerateRegistrationConfirmation ( RegistrationParticipation registrationParticipation, Template template ) : string | ||
registrationParticipation | RegistrationParticipation | |
template | Template | |
Résultat | string |
public GenerateRegistrationPetitionApproved ( RegistrationPetition registrationPetition, Template template ) : string | ||
registrationPetition | RegistrationPetition | |
template | Template | |
Résultat | string |
public GenerateRegistrationPetitionConfirmation ( RegistrationPetition registrationPetition, Template template ) : string | ||
registrationPetition | RegistrationPetition | |
template | Template | |
Résultat | string |
public GenerateVisaLetterRequestDecision ( VisaLetter visaLetter, Template template, System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url ) : string | ||
visaLetter | VisaLetter | |
template | Template | |
request | System.Web.HttpRequestBase | |
url | System.Web.Mvc.UrlHelper | |
Résultat | string |
public ValidateTemplate ( Template template, List |
||
template | Template | |
invalidTokens | List |
|
Résultat | bool |