BgEngine.Application.ResourceConfiguration.BgResources.UpdateOptions C# (CSharp) Method

UpdateOptions() public static method

Update the options object
public static UpdateOptions ( ConfigOptionsDTO options ) : void
options ConfigOptionsDTO The options DTO
return void
        public static void UpdateOptions(ConfigOptionsDTO options)
        {
            BgResources.Email_UserName = options.Email_UserName;
            BgResources.Email_SmtpPort = options.Email_SmtpPort;
            BgResources.Email_Server = options.Email_Server;
            BgResources.Email_Password = options.Email_Password;
            BgResources.Email_SSL = options.Email_SSL;
            BgResources.Send_Mail_When_Comment_Received = options.Send_Mail_When_Comment_Received;
            BgResources.Analytics_GoogleAnalyticsCode = options.Analytics_GoogleAnalyticsCode;
            BgResources.Messages_Copyright = options.Messages_Copyright;
            BgResources.Messages_SiteTitle = options.Messages_SiteTitle;
            BgResources.Messages_SiteUrl = options.Messages_SiteUrl;
            BgResources.Pager_CategoriesPerPage = options.Pager_CategoriesPerPage;
            BgResources.Pager_CommentsPerPage = options.Pager_CommentsPerPage;
            BgResources.Pager_PostPerPage = options.Pager_PostPerPage;
            BgResources.Pager_RolesPerPage = options.Pager_RolesPerPage;
            BgResources.Pager_TagsPerPage = options.Pager_TagsPerPage;
            BgResources.Pager_UsersPerPage = options.Pager_UsersPerPage;
            BgResources.Pager_SearchImagesPerPage = options.Pager_SearchImagesPerPage;
            BgResources.Pager_SearchVideosPerPage = options.Pager_SearchVideosPerPage;
            BgResources.Recaptcha_PrivateKeyHttp = options.Recaptcha_PrivateKeyHttp;
            BgResources.Recaptcha_PublicKeyHttp = options.Recaptcha_PublicKeyHttp;
            BgResources.Akismet_API_key = options.Akismet_API_key;
            BgResources.Security_PremiumRole = options.Security_PremiumRole;
            BgResources.Security_AdminRole = options.Security_AdminRole;
            BgResources.Pager_HomeIndexPostsPerPage = options.Pager_HomeIndexPostsPerPage;
            BgResources.Twitter_User = options.Twitter_User;
            BgResources.Twitter_Search_Query = options.Twitter_Search_Query;
        }