📄 notifyformatinfo.cs
字号:
namespace ASPNET.StarterKit.Communities {
using System;
//*********************************************************************
//
// NotifyFormatInfo Class
//
// Represents all the elements that will be replaced in
// a notification email.
//
//*********************************************************************
public class NotifyFormatInfo {
string _username = String.Empty;
string _fullUsername = String.Empty;
string _editProfileLink = String.Empty;
string _contentTitle = String.Empty;
string _contentLink = String.Empty;
string _sectionName = String.Empty;
//*********************************************************************
//
// Username Property
//
// Represents the username replaced in the email.
//
//*********************************************************************
public string Username {
get {return _username;}
set {_username = value;}
}
//*********************************************************************
//
// FullUsername Property
//
// Represents the full username replaced in the email.
// Includes first and last name.
//
//*********************************************************************
public string FullUsername {
get {return _fullUsername;}
set {_fullUsername = value;}
}
//*********************************************************************
//
// EditProfileLink Property
//
// Represents the link to the user profile replaced in the email.
//
//*********************************************************************
public string EditProfileLink {
get {return _editProfileLink;}
set {_editProfileLink = value;}
}
//*********************************************************************
//
// ContentTitle Property
//
// Represents the title of the content item replaced in the email.
//
//*********************************************************************
public string ContentTitle {
get {return _contentTitle;}
set {_contentTitle = value;}
}
//*********************************************************************
//
// ContentLink Property
//
// Represents the link to the content page replaced in the email.
//
//*********************************************************************
public string ContentLink {
get {return _contentLink;}
set {_contentLink = value;}
}
//*********************************************************************
//
// SectionName Property
//
// Represents the name of the section replaced in the email.
//
//*********************************************************************
public string SectionName {
get {return _sectionName;}
set {_sectionName = value;}
}
//*********************************************************************
//
// NotfifyFormatInfo Constructor
//
// Initializes the NotifyFormatInfo class.
//
//*********************************************************************
public NotifyFormatInfo() {}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -