⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 webprofile.cs

📁 BugNET is an issue tracking and project issue management solution built using the ASP.NET web applic
💻 CS
字号:
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.312
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace BugNET.UserInterfaceLayer {
    using System;
    using System.Web;
    using System.Web.Profile;
    using System.Configuration;
    
    
    public class WebProfile {
        
        private System.Web.Profile.ProfileBase _profileBase;
        
        public WebProfile() {
            this._profileBase = new System.Web.Profile.ProfileBase();
        }
        
        public WebProfile(System.Web.Profile.ProfileBase profileBase) {
            this._profileBase = profileBase;
        }
        
        public virtual bool ShowInProgressByMe {
            get {
                return ((bool)(this.GetPropertyValue("ShowInProgressByMe")));
            }
            set {
                this.SetPropertyValue("ShowInProgressByMe", value);
            }
        }
        
        public virtual bool ShowAssignedToMe {
            get {
                return ((bool)(this.GetPropertyValue("ShowAssignedToMe")));
            }
            set {
                this.SetPropertyValue("ShowAssignedToMe", value);
            }
        }
        
        public virtual bool ShowClosedByMe {
            get {
                return ((bool)(this.GetPropertyValue("ShowClosedByMe")));
            }
            set {
                this.SetPropertyValue("ShowClosedByMe", value);
            }
        }


        public virtual string NotificationTypes
        {
            get
            {
                return ((string)(this.GetPropertyValue("NotificationTypes")));
            }
            set
            {
                this.SetPropertyValue("NotificationTypes", value);
            }
        }

        public virtual string PreferredLocale
        {
            get
            {
                return ((string)(this.GetPropertyValue("PreferredLocale")));
            }
            set
            {
                this.SetPropertyValue("PreferredLocale", value);
            }
        }
        
        public virtual string LastName {
            get {
                return ((string)(this.GetPropertyValue("LastName")));
            }
            set {
                this.SetPropertyValue("LastName", value);
            }
        }
        
        public virtual bool ShowReportedByMe {
            get {
                return ((bool)(this.GetPropertyValue("ShowReportedByMe")));
            }
            set {
                this.SetPropertyValue("ShowReportedByMe", value);
            }
        }
        
        public virtual string FirstName {
            get {
                return ((string)(this.GetPropertyValue("FirstName")));
            }
            set {
                this.SetPropertyValue("FirstName", value);
            }
        }
        
        public virtual bool ShowMonitoredByMe {
            get {
                return ((bool)(this.GetPropertyValue("ShowMonitoredByMe")));
            }
            set {
                this.SetPropertyValue("ShowMonitoredByMe", value);
            }
        }
        
        public virtual int IssuesPageSize {
            get {
                return ((int)(this.GetPropertyValue("IssuesPageSize")));
            }
            set {
                this.SetPropertyValue("IssuesPageSize", value);
            }
        }
        
        public virtual int MyIssuesPageSize {
            get {
                return ((int)(this.GetPropertyValue("MyIssuesPageSize")));
            }
            set {
                this.SetPropertyValue("MyIssuesPageSize", value);
            }
        }
        
        public virtual bool ShowResolvedByMe {
            get {
                return ((bool)(this.GetPropertyValue("ShowResolvedByMe")));
            }
            set {
                this.SetPropertyValue("ShowResolvedByMe", value);
            }
        }
        
        public virtual string DisplayName {
            get {
                return ((string)(this.GetPropertyValue("DisplayName")));
            }
            set {
                this.SetPropertyValue("DisplayName", value);
            }
        }
        
        public static WebProfile Current {
            get {
                return new WebProfile(System.Web.HttpContext.Current.Profile);
            }
        }
        
        public virtual System.Web.Profile.ProfileBase ProfileBase {
            get {
                return this._profileBase;
            }
        }
        
        public virtual object this[string propertyName] {
            get {
                return this._profileBase[propertyName];
            }
            set {
                this._profileBase[propertyName] = value;
            }
        }
        
        public virtual string UserName {
            get {
                return this._profileBase.UserName;
            }
        }
        
        public virtual bool IsAnonymous {
            get {
                return this._profileBase.IsAnonymous;
            }
        }
        
        public virtual bool IsDirty {
            get {
                return this._profileBase.IsDirty;
            }
        }
        
        public virtual System.DateTime LastActivityDate {
            get {
                return this._profileBase.LastActivityDate;
            }
        }
        
        public virtual System.DateTime LastUpdatedDate {
            get {
                return this._profileBase.LastUpdatedDate;
            }
        }
        
        public virtual System.Configuration.SettingsProviderCollection Providers {
            get {
                return this._profileBase.Providers;
            }
        }
        
        public virtual System.Configuration.SettingsPropertyValueCollection PropertyValues {
            get {
                return this._profileBase.PropertyValues;
            }
        }
        
        public virtual System.Configuration.SettingsContext Context {
            get {
                return this._profileBase.Context;
            }
        }
        
        public virtual bool IsSynchronized {
            get {
                return this._profileBase.IsSynchronized;
            }
        }
        
        public static System.Configuration.SettingsPropertyCollection Properties {
            get {
                return System.Web.Profile.ProfileBase.Properties;
            }
        }
        
        public virtual WebProfile GetProfile(string username) {
            return new WebProfile(System.Web.Profile.ProfileBase.Create(username));
        }
        
        public virtual object GetPropertyValue(string propertyName) {
            return this._profileBase.GetPropertyValue(propertyName);
        }
        
        public virtual void SetPropertyValue(string propertyName, object propertyValue) {
            this._profileBase.SetPropertyValue(propertyName, propertyValue);
        }
        
        public virtual System.Web.Profile.ProfileGroupBase GetProfileGroup(string groupName) {
            return this._profileBase.GetProfileGroup(groupName);
        }
        
        public virtual void Initialize(string username, bool isAuthenticated) {
            this._profileBase.Initialize(username, isAuthenticated);
        }
        
        public virtual void Save() {
            this._profileBase.Save();
        }
        
        public virtual void Initialize(System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection properties, System.Configuration.SettingsProviderCollection providers) {
            this._profileBase.Initialize(context, properties, providers);
        }
        
        public static System.Configuration.SettingsBase Synchronized(System.Configuration.SettingsBase settingsBase) {
            return System.Web.Profile.ProfileBase.Synchronized(settingsBase);
        }
        
        public static System.Web.Profile.ProfileBase Create(string userName) {
            return System.Web.Profile.ProfileBase.Create(userName);
        }
        
        public static System.Web.Profile.ProfileBase Create(string userName, bool isAuthenticated) {
            return System.Web.Profile.ProfileBase.Create(userName, isAuthenticated);
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -