App_Code/Sections/ContactForm.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//===============================================================================================
//
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
//
//===============================================================================================

using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Collections.Generic;

namespace MyWebPagesStarterKit
{
    /// <summary>
    /// Contact Form Section
    /// This section displays a contact form
    /// </summary>
    public class ContactForm : Section<ContactForm.ContactFormData>
    {
        public ContactForm() : base() { }
        public ContactForm(string id) : base(id) { }

        /// <summary>
        /// E-Mail address, the contact-emails get sent to
        /// </summary>
        public string EmailTo
        {
            get { return _data.EmailTo; }
            set { _data.EmailTo = value; }
        }

        /// <summary>
        /// E-Mail address, the contact-emails get sent to as a copy (optional)
        /// </summary>
        public string EmailCc
        {
            get { return _data.EmailCc; }
            set { _data.EmailCc = value; }
        }

        /// <summary>
        /// Subject of the contact-mail
        /// </summary>
        public string Subject
        {
            get { return _data.Subject; }
            set { _data.Subject = value; }
        }

        /// <summary>
        /// Text displayed above the contact-form
        /// </summary>
        public string Introtext
        {
            get { return _data.Introtext; }
            set { _data.Introtext = value; }
后面还有 46 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。