C# 클래스 NuGetGallery.MessageService

상속: IMessageService
파일 보기 프로젝트 열기: NuGet/NuGetGallery 1 사용 예제들

공개 메소드들

메소드 설명
MessageService ( IMailSender mailSender, IAppConfiguration config, AuthenticationService authService ) : System
ReportAbuse ( NuGetGallery.ReportPackageRequest request ) : void
ReportMyPackage ( ReportPackageRequest request ) : void
SendContactOwnersMessage ( MailAddress fromAddress, PackageRegistration packageRegistration, string message, string emailSettingsUrl, bool copySender ) : void
SendContactSupportEmail ( ContactSupportRequest request ) : void
SendCredentialAddedNotice ( User user, Credential added ) : void
SendCredentialRemovedNotice ( User user, Credential removed ) : void
SendEmailChangeConfirmationNotice ( MailAddress newEmailAddress, string confirmationUrl ) : void
SendEmailChangeNoticeToPreviousEmailAddress ( User user, string oldEmailAddress ) : void
SendNewAccountEmail ( MailAddress toAddress, string confirmationUrl ) : void
SendPackageAddedNotice ( Package package, string packageUrl, string packageSupportUrl, string emailSettingsUrl ) : void
SendPackageOwnerRemovedNotice ( User fromUser, User toUser, PackageRegistration package ) : void
SendPackageOwnerRequest ( User fromUser, User toUser, PackageRegistration package, string confirmationUrl, string message ) : void
SendPasswordResetInstructions ( User user, string resetPasswordUrl, bool forgotPassword ) : void

보호된 메소드들

메소드 설명
MessageService ( ) : System

비공개 메소드들

메소드 설명
AddOwnersSubscribedToPackagePushedNotification ( NuGetGallery.PackageRegistration packageRegistration, MailMessage mailMessage ) : void
AddOwnersToMailMessage ( NuGetGallery.PackageRegistration packageRegistration, MailMessage mailMessage ) : void
SendCredentialChangeNotice ( User user, Credential changed, string bodyTemplate, string subjectTemplate ) : void
SendMessage ( MailMessage mailMessage, bool copySender = false ) : void
SendSupportMessage ( User user, string body, string subject ) : void

메소드 상세

MessageService() 보호된 메소드

protected MessageService ( ) : System
리턴 System

MessageService() 공개 메소드

public MessageService ( IMailSender mailSender, IAppConfiguration config, AuthenticationService authService ) : System
mailSender IMailSender
config IAppConfiguration
authService AuthenticationService
리턴 System

ReportAbuse() 공개 메소드

public ReportAbuse ( NuGetGallery.ReportPackageRequest request ) : void
request NuGetGallery.ReportPackageRequest
리턴 void

ReportMyPackage() 공개 메소드

public ReportMyPackage ( ReportPackageRequest request ) : void
request ReportPackageRequest
리턴 void

SendContactOwnersMessage() 공개 메소드

public SendContactOwnersMessage ( MailAddress fromAddress, PackageRegistration packageRegistration, string message, string emailSettingsUrl, bool copySender ) : void
fromAddress MailAddress
packageRegistration PackageRegistration
message string
emailSettingsUrl string
copySender bool
리턴 void

SendContactSupportEmail() 공개 메소드

public SendContactSupportEmail ( ContactSupportRequest request ) : void
request ContactSupportRequest
리턴 void

SendCredentialAddedNotice() 공개 메소드

public SendCredentialAddedNotice ( User user, Credential added ) : void
user User
added Credential
리턴 void

SendCredentialRemovedNotice() 공개 메소드

public SendCredentialRemovedNotice ( User user, Credential removed ) : void
user User
removed Credential
리턴 void

SendEmailChangeConfirmationNotice() 공개 메소드

public SendEmailChangeConfirmationNotice ( MailAddress newEmailAddress, string confirmationUrl ) : void
newEmailAddress MailAddress
confirmationUrl string
리턴 void

SendEmailChangeNoticeToPreviousEmailAddress() 공개 메소드

public SendEmailChangeNoticeToPreviousEmailAddress ( User user, string oldEmailAddress ) : void
user User
oldEmailAddress string
리턴 void

SendNewAccountEmail() 공개 메소드

public SendNewAccountEmail ( MailAddress toAddress, string confirmationUrl ) : void
toAddress MailAddress
confirmationUrl string
리턴 void

SendPackageAddedNotice() 공개 메소드

public SendPackageAddedNotice ( Package package, string packageUrl, string packageSupportUrl, string emailSettingsUrl ) : void
package Package
packageUrl string
packageSupportUrl string
emailSettingsUrl string
리턴 void

SendPackageOwnerRemovedNotice() 공개 메소드

public SendPackageOwnerRemovedNotice ( User fromUser, User toUser, PackageRegistration package ) : void
fromUser User
toUser User
package PackageRegistration
리턴 void

SendPackageOwnerRequest() 공개 메소드

public SendPackageOwnerRequest ( User fromUser, User toUser, PackageRegistration package, string confirmationUrl, string message ) : void
fromUser User
toUser User
package PackageRegistration
confirmationUrl string
message string
리턴 void

SendPasswordResetInstructions() 공개 메소드

public SendPasswordResetInstructions ( User user, string resetPasswordUrl, bool forgotPassword ) : void
user User
resetPasswordUrl string
forgotPassword bool
리턴 void