当前位置: 首页>>代码示例>>C#>>正文


C# SageFrameConfig.GetSettingsByKey方法代码示例

本文整理汇总了C#中SageFrame.Web.SageFrameConfig.GetSettingsByKey方法的典型用法代码示例。如果您正苦于以下问题:C# SageFrameConfig.GetSettingsByKey方法的具体用法?C# SageFrameConfig.GetSettingsByKey怎么用?C# SageFrameConfig.GetSettingsByKey使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SageFrame.Web.SageFrameConfig的用法示例。


在下文中一共展示了SageFrameConfig.GetSettingsByKey方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Page_Init

 protected void Page_Init(object sender, EventArgs e)
 {
     SageFrameConfig sfConfig = new SageFrameConfig();
     if (sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalShowFooterLink) == "1")
     {
         LoadControl(phdFooterMenu, "~/Controls/ctl_FooterMenu.ascx");
         divFooterLink.Attributes.Add("style", "display:block;");
     }
     else
     {
         phdFooterMenu.Controls.Clear();
         divFooterLink.Attributes.Add("style", "display:none;");
     }
     if (sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalShowCopyRight) == "1")
     {
         divCopyWrite.InnerHtml = Server.HtmlDecode(sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalCopyright));
         divCopyWrite.Attributes.Add("style", "display:block;");
     }
     else
     {
         divCopyWrite.InnerHtml = "";
         divCopyWrite.Attributes.Add("style", "display:none;");
     }
     
 }
开发者ID:electrono,项目名称:veg-web,代码行数:25,代码来源:ctl_Footer.ascx.cs

示例2: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     templateFavicon = SetFavIcon(GetActiveTemplate);
     imgLogo.ImageUrl = ResolveUrl("~/") + "images/sageframe.png";
     Extension = SageFrameSettingKeys.PageExtension;
     SageFrameConfig sfConfig = new SageFrameConfig();
     appPath = GetAppPath();
     string pagePath = ResolveUrl(GetParentURL) + GetReduceApplicationName;
     ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "BreadCrumGlobal1", " var BreadCrumPagePath='" + pagePath + "';", true);
     pagePath = IsParent ? pagePath : pagePath + "portal/" + GetPortalSEOName;
     PortalID = GetPortalID;
     if (!IsParent)
     {
         fallBackPath = GetParentURL + "/portal/" + GetPortalSEOName + "/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + Extension;
     }
     else
     {
         fallBackPath = GetParentURL + "/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + Extension;
     }
     if (Session[SessionKeys.TemplateError] != null)
     {
         Exception ex = Session[SessionKeys.TemplateError] as Exception;
         StringBuilder sb = new StringBuilder();
         sb.Append(string.Format("<h3>{0}</h3>", ex.Message));
         sb.Append(string.Format("<p>{0}</p>", ex.ToString()));
         ltrErrorMessage.Text = sb.ToString();
     }
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:28,代码来源:Fallback.aspx.cs

示例3: Page_Init

 protected void Page_Init(object sender, EventArgs e)
 {
     SageFrameConfig sfConfig = new SageFrameConfig();
     if (sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalShowLogo) == "1")
     {
         LoadControl(phdLogo, "~/Controls/ctl_Logo.ascx");
         divLogo.Attributes.Add("style", "display:block;");
     }
     else
     {
         phdLogo.Controls.Clear();
         divLogo.Attributes.Add("style", "display:none;");
     }
     if (sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalShowSubscribe) == "1")
     {
         LoadControl(phdSubscribe, "~/Controls/ctl_Subscribe.ascx");
         divSubscribe.Attributes.Add("style", "display:block;");
     }
     else
     {
         phdSubscribe.Controls.Clear();
         divSubscribe.Attributes.Add("style", "display:none;");
     }
     if (sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalShowLoginStatus) == "1")
     {
         LoadControl(phdLoginStatus, "~/Controls/ctl_LoginStatus.ascx");
         divTopMenu.Attributes.Add("style", "display:block;");
     }
     else
     {
         phdLoginStatus.Controls.Clear();
         divTopMenu.Attributes.Add("style", "display:none;");
     }
 }
开发者ID:electrono,项目名称:veg-web,代码行数:34,代码来源:ctl_HeaderControl.ascx.cs

示例4: SendMultipleEmail

        public static void SendMultipleEmail(string From, string sendTo, string Subject, string Body)
        {
            SageFrameConfig sfConfig = new SageFrameConfig();
            string ServerPort = sfConfig.GetSettingsByKey(SageFrameSettingKeys.SMTPServer);
            string SMTPAuthentication = sfConfig.GetSettingsByKey(SageFrameSettingKeys.SMTPAuthentication);
            string SMTPEnableSSL = sfConfig.GetSettingsByKey(SageFrameSettingKeys.SMTPEnableSSL);
            string SMTPPassword = sfConfig.GetSettingsByKey(SageFrameSettingKeys.SMTPPassword);
            string SMTPUsername = sfConfig.GetSettingsByKey(SageFrameSettingKeys.SMTPUsername);
            string[] SMTPServer = ServerPort.Split(':');
            try
            {
                MailMessage myMessage = new MailMessage();
                foreach (string emailTo in sendTo.Split(','))
                {
                    myMessage.To.Add(new MailAddress(emailTo));
                }
                myMessage.From = new MailAddress(From);
                myMessage.Subject = Subject;
                myMessage.Body = Body;
                myMessage.IsBodyHtml = true;

                SmtpClient smtp = new SmtpClient();
                if (SMTPAuthentication == "1")
                {
                    if (SMTPUsername.Length > 0 && SMTPPassword.Length > 0)
                    {
                        smtp.Credentials = new System.Net.NetworkCredential(SMTPUsername, SMTPPassword);
                    }
                }
                smtp.EnableSsl = bool.Parse(SMTPEnableSSL.ToString());
                if (SMTPServer.Length > 0)
                {
                    if (SMTPServer[0].Length != 0)
                    {
                        smtp.Host = SMTPServer[0];
                        if (SMTPServer.Length == 2)
                        {
                            smtp.Port = int.Parse(SMTPServer[1]);
                        }
                        else
                        {
                            smtp.Port = 25;
                        }
                        smtp.Send(myMessage);
                    }
                    else
                    {
                        throw new Exception("SMTP Host must be provided");
                    }
                }

            }

            catch (Exception ex)
            {
                throw ex;
            }
        }
开发者ID:RexSystemsbd,项目名称:SageFrameV2.1Source,代码行数:58,代码来源:MailHelper.cs

示例5: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("messagecss", "/Templates/" + TemplateName + "/css/MessageBox/style.css",
                    "/Modules/AspxCommerce/AspxServiceItems/css/ServiceItems.css");
                IncludeJs("messagejs", "/js/MessageBox/alertbox.js");
                var sfConfig = new SageFrameConfig();
                _isUseFriendlyUrls = sfConfig.GetSettingBollByKey(SageFrameSettingKeys.UseFriendlyUrls);

                if (_isUseFriendlyUrls)
                {
                    if (GetPortalID > 1)
                    {
                        _sageRedirectPath =
                            ResolveUrl("~/portal/" + GetPortalSEOName + "/" +sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + SageFrameSettingKeys.PageExtension);
                        _addressPath = HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + "/portal/" +GetPortalSEOName + "/";

                    }
                    else
                    {
                        _sageRedirectPath =
                            ResolveUrl("~/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) +
                                       SageFrameSettingKeys.PageExtension);
                        _addressPath = HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + "/";

                    }
                }
                else
                {
                    _sageRedirectPath =
                        ResolveUrl("{~/Default" + SageFrameSettingKeys.PageExtension + "?ptlid=" + GetPortalID +
                                   "&ptSEO=" + GetPortalSEOName + "&pgnm=" +
                                   sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage));
                }

                var imgProgress = (Image) UpdateProgress1.FindControl("imgPrgress");
                if (imgProgress != null)
                {
                    imgProgress.ImageUrl = GetTemplateImageUrl("ajax-loader.gif", true);
                }
                hlnkHomePage.NavigateUrl = _sageRedirectPath;

                StoreSettingConfig ssc = new StoreSettingConfig();
                                            
                StoreLogoUrl = ssc.GetStoreSettingsByKey(StoreSetting.StoreLogoURL, GetStoreID, GetPortalID, GetCurrentCultureName);
                SendConfrimMessage();
            }
            IncludeLanguageJS();
        }
        catch(Exception ex)
        {
            throw ex;
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:57,代码来源:AppointmentSuccess.ascx.cs

示例6: SendEmail

 public void SendEmail(string senderEmail, string receiverEmail, string subject, string message)
 {
     string emailSuperAdmin;
     string emailSiteAdmin;
     SageFrameConfig pagebase = new SageFrameConfig();
     emailSuperAdmin = pagebase.GetSettingsByKey(SageFrameSettingKeys.SuperUserEmail);
     emailSiteAdmin = pagebase.GetSettingsByKey(SageFrameSettingKeys.SiteAdminEmailAddress);
     MailHelper.SendMailNoAttachment(senderEmail, receiverEmail, subject, message, emailSiteAdmin, emailSuperAdmin);
 }
开发者ID:electrono,项目名称:veg-web,代码行数:9,代码来源:ReferToFriendSqlHandler.cs

示例7: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            try
            {
                if (Session["OrderID"] != null)
                {
                    orderID = int.Parse(Session["OrderID"].ToString());
                }

                var sfConfig = new SageFrameConfig();
                _isUseFriendlyUrls = sfConfig.GetSettingBollByKey(SageFrameSettingKeys.UseFriendlyUrls);
                PageExtension = SageFrameSettingKeys.PageExtension;
                string sageRedirectPath;
                if (_isUseFriendlyUrls)
                {
                    if (!IsParent)
                    {
                        sageRedirectPath = ResolveUrl(GetParentURL + "/portal/" + GetPortalSEOName + "/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + PageExtension);
                        _addressPath = HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + "/portal/" + GetPortalSEOName + "/";
                    }
                    else
                    {
                        sageRedirectPath = ResolveUrl("~/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + PageExtension);
                        _addressPath = HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + "/";
                    }
                }
                else
                {
                    sageRedirectPath = ResolveUrl("{~/Default" + PageExtension + "?ptlid=" + GetPortalID + "&ptSEO=" + GetPortalSEOName + "&pgnm=" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage));
                }

                var imgProgress = (Image)UpdateProgress1.FindControl("imgPrgress");
                if (imgProgress != null)
                {
                    imgProgress.ImageUrl = GetTemplateImageUrl("ajax-loader.gif", true);
                }
                hlnkHomePage.NavigateUrl = sageRedirectPath;

                 
                IncludeLanguageJS();
                if (Session["mb_IsCheckoutFromMobile"] != null)
                {
                    MobileSuccess(sageRedirectPath);
                }else
                {
                    WebSuccess(sageRedirectPath);
                }
            }
            catch (Exception ex)
            {

                ProcessException(ex);
            }
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:57,代码来源:PaypalSuccess.ascx.cs

示例8: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            AspxCommonInfo aspxCommonObj = new AspxCommonInfo();
            aspxCommonObj.StoreID = GetStoreID;
            aspxCommonObj.PortalID = GetPortalID;
            aspxCommonObj.UserName = GetUsername;
            aspxCommonObj.CultureName = GetCurrentCultureName;


            if (!IsPostBack)
            {
                if (Session["OrderID"] != null)
                {
                    orderID = int.Parse(Session["OrderID"].ToString());
                }
                var sfConfig = new SageFrameConfig();
                _isUseFriendlyUrls = sfConfig.GetSettingBollByKey(SageFrameSettingKeys.UseFriendlyUrls);

                if (_isUseFriendlyUrls)
                {
                    if (!IsParent)
                    {
                        _sageRedirectPath = ResolveUrl("~/portal/" + GetPortalSEOName + "/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + ".aspx");
                    }
                    else
                    {
                        _sageRedirectPath = ResolveUrl("~/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + ".aspx");
                    }
                }
                else
                {
                    _sageRedirectPath = ResolveUrl("{~/Default.aspx?ptlid=" + GetPortalID + "&ptSEO=" + GetPortalSEOName + "&pgnm=" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage));
                }

                var imgProgress = (Image)UpdateProgress1.FindControl("imgPrgress");
                if (imgProgress != null)
                {
                    imgProgress.ImageUrl = GetTemplateImageUrl("ajax-loader.gif", true);
                }
                hlnkHomePage.NavigateUrl = _sageRedirectPath;

                SendEmailFrom = StoreSetting.GetStoreSettingValueByKey(StoreSetting.SendEcommerceEmailsFrom, GetStoreID, GetPortalID, GetCurrentCultureName);
                SendOrderNotice = StoreSetting.GetStoreSettingValueByKey(StoreSetting.SendOrderNotification, GetStoreID, GetPortalID, GetCurrentCultureName);
                SendConfrimMessage();
            }
            IncludeLanguageJS();
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:54,代码来源:AuthorizeDotNetAIMSuccess.ascx.cs

示例9: LoginStatus1_LoggedOut

 protected void LoginStatus1_LoggedOut(object sender, EventArgs e)
 {
     SetUserRoles(string.Empty);
     SageFrameConfig sfConfig = new SageFrameConfig();
     if (!IsParent)
     {
         Response.Redirect(GetParentURL + "/portal/" + GetPortalSEOName + "/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + SageFrameSettingKeys.PageExtension);
     }
     else
     {
         Response.Redirect(GetParentURL + "/" + sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage) + SageFrameSettingKeys.PageExtension);
     }
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:13,代码来源:ctl_LoginStatus.ascx.cs

示例10: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         if (!IsPostBack)
         {
             AddImageUrls();
             BinDDls();
             BindData();
             SageFrameConfig sfConf = new SageFrameConfig();
             ViewState["SelectedLanguageCulture"] = sfConf.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultLanguage);
             GetLanguageList();
             GetFlagImage();
           
             //imbSave.Attributes.Add("onclick", string.Format("sageHtmlEncoder('{0}')", txtLogoTemplate.ClientID + "," + txtCopyright.ClientID));
             //txtPortalUserProfileMaxImageSize.Attributes.Add("OnKeydown", "return NumberKeyWithDecimal(event)");
             //txtPortalUserProfileMediumImageSize.Attributes.Add("OnKeydown", "return NumberKey(event)");
             //txtPortalUserProfileSmallImageSize.Attributes.Add("OnKeydown", "return NumberKey(event)");
         }
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }
开发者ID:electrono,项目名称:veg-web,代码行数:25,代码来源:ctl_PortalSettings.ascx.cs

示例11: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        PageExtension = SageFrameSettingKeys.PageExtension;
        SageUserControl suc = new SageUserControl();
        SageFrameConfig sfConfig = new SageFrameConfig();
        
        StartupPage = sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultPage);
        ActiveTemplateName = TemplateName;

        InitializeCssJs();
        appPath = Request.ApplicationPath != "/" ? Request.ApplicationPath : "";     
        ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "SageMenuAdminGlobal1", " var ServicePath='" + appPath + "';", true); 
        if (!IsPostBack)
        {
            BuildAccessControlledSelection();
            AddImageUrls();
            UserModuleID = int.Parse(SageUserModuleID);
            PortalID = GetPortalID;
            UserName = GetUsername;
            CultureCode = GetCurrentCulture();
            PageName = Path.GetFileNameWithoutExtension(PagePath);
            string modulePath = ResolveUrl(this.AppRelativeTemplateSourceDirectory);
            ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "SageMenuGlobal", " var Path='" + ResolveUrl(modulePath) + "';", true);
            string pagePath = Request.ApplicationPath != "/" ? Request.ApplicationPath : "";
            pagePath = GetPortalID == 1 ? pagePath : pagePath + "/portal/" + GetPortalSEOName;
            ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "SageMenuGlobal1", " var PagePath='" + pagePath + "';", true);

        }

    }
开发者ID:RexSystemsbd,项目名称:SageFrameV2.1Source,代码行数:30,代码来源:ManagePages.ascx.cs

示例12: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         IncludeCss("PortalSettings", "/Modules/Admin/PortalSettings/css/popup.css");
         if (!IsPostBack)
         {
             AddImageUrls();
             BinDDls();
             BindData();
             SageFrameConfig sfConf = new SageFrameConfig();
             ViewState["SelectedLanguageCulture"] = sfConf.GetSettingsByKey(SageFrameSettingKeys.PortalDefaultLanguage);
             GetLanguageList();
             GetFlagImage();
         }
         RoleController _role = new RoleController();
         string[] roles = _role.GetRoleNames(GetUsername, GetPortalID).ToLower().Split(',');
         if (!roles.Contains(SystemSetting.SUPER_ROLE[0].ToLower()))
         {
             TabContainer.Tabs[2].Visible = false;
             TabContainer.Tabs[1].Visible = false;
         }
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }
开发者ID:RexSystemsbd,项目名称:SageFrameV2.1Source,代码行数:28,代码来源:ctl_PortalSettings.ascx.cs

示例13: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     IncludeLanguageJS();
     appPath = GetApplicationName;
     userName = SecurityPolicy.GetUser(GetPortalID);
     Extension = SageFrameSettingKeys.PageExtension;
     if (!IsPostBack)
     {
         // BindThemes();
         //BindLayouts();
         //BindValues();
         hlnkDashboard.Visible = false;
         SageFrameConfig conf = new SageFrameConfig();
         string ExistingPortalShowProfileLink = conf.GetSettingsByKey(SageFrameSettingKeys.PortalShowProfileLink);
         lnkAccount.NavigateUrl = GetProfileLink();
         if (ExistingPortalShowProfileLink == "1")
         {
         }
         else
         {
         }
     }
     RoleController _role = new RoleController();
     string[] roles = _role.GetRoleNames(GetUsername, GetPortalID).ToLower().Split(',');
     if (roles.Contains(SystemSetting.SUPER_ROLE[0].ToLower()) || roles.Contains(SystemSetting.SITEADMIN.ToLower()))
     {
         hlnkDashboard.Visible = true;
         hlnkDashboard.NavigateUrl = GetPortalAdminPage();
         cpanel.Visible = true;
     }
     else
     {
         cpanel.Visible = false;
     }
 }
开发者ID:RexSystemsbd,项目名称:SageFrameV2.1Source,代码行数:35,代码来源:TopStickyBar.ascx.cs

示例14: SageInitPart

 private void SageInitPart()
 {
     SetPortalCofig();
     InitializePage();
     LoadModuleControls();
     SageFrameConfig sfConfig = new SageFrameConfig();
     IsUseFriendlyUrls = sfConfig.GetSettingBollByKey(SageFrameSettingKeys.UseFriendlyUrls);
     //LoadControl(phdAdministrativBreadCrumb, "~/Controls/ctl_AdminBreadCrum.ascx");
     LoadControl(phdAdminMenu, "~/Controls/ctl_AdminMenuOnly.ascx");
     if (sfConfig.GetSettingsByKey(SageFrameSettingKeys.PortalShowFooter) == "1")
     {
         divFooterWrapper.Attributes.Add("style", "display:block;");
     }
     else
     {
         divFooterWrapper.Attributes.Add("style", "display:none;");
     }
     BindModuleControls();
     HiddenField hdnPageID = new HiddenField();
     hdnPageID.ID = "hdnPageID";
     if (HttpContext.Current.Request.QueryString["pgid"] != null)
     {
         hdnPageID.Value = HttpContext.Current.Request.QueryString["pgid"].ToString();
     }
     HiddenField hdnActiveIndex = new HiddenField();
     hdnActiveIndex.ID = "hdnActiveIndex";
     if (HttpContext.Current.Request.QueryString["ActInd"] != null)
     {
         hdnActiveIndex.Value = HttpContext.Current.Request.QueryString["ActInd"].ToString();
     }
     this.Page.Form.Controls.Add(hdnPageID);
     this.Page.Form.Controls.Add(hdnActiveIndex);
     OverridePageInfo(null);
 }
开发者ID:electrono,项目名称:veg-web,代码行数:34,代码来源:ManagePage.aspx.cs

示例15: ContactUsAdd

 public void ContactUsAdd(string name, string email, string subject, string message, bool isActive, int portalID, string addedBy)
 {
     try
     {
         ContactUsDataProvider contactProvider = new ContactUsDataProvider();
         contactProvider.ContactUsAdd(name, email, message, isActive, portalID, addedBy);
         SageFrameConfig pagebase = new SageFrameConfig();
         string emailSuperAdmin = pagebase.GetSettingsByKey(SageFrameSettingKeys.SuperUserEmail);
         string emailSiteAdmin = pagebase.GetSettingsByKey(SageFrameSettingKeys.SiteAdminEmailAddress);
         MailHelper.SendMailNoAttachment(email, emailSiteAdmin, subject, email, emailSuperAdmin, string.Empty);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
开发者ID:RexSystemsbd,项目名称:SageFrameV2.1Source,代码行数:16,代码来源:ContactUsController.cs


注:本文中的SageFrame.Web.SageFrameConfig.GetSettingsByKey方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。