BlogEngine.Core/AuthorProfile.cs

(开头部分) 5KB

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

#region Using

using System;
using System.Collections.Generic;
using BlogEngine.Core.Providers;

#endregion

namespace BlogEngine.Core
{
	public class AuthorProfile : BusinessBase<AuthorProfile, string>
	{

		#region Constructors

		public AuthorProfile()
		{

		}

		public AuthorProfile(string username)
		{
			base.Id = username;
		}

		#endregion

		#region Properties

		private static object _SyncRoot = new object();
		private static List<AuthorProfile> _Profiles;
		/// <summary>
		/// Gets an unsorted list of all pages.
		/// </summary>
		public static List<AuthorProfile> Profiles
		{
			get
			{
				if (_Profiles == null)
				{
					lock (_SyncRoot)
					{
						if (_Profiles == null)
						{
							_Profiles = BlogService.FillProfiles();
						}
					}
				}

				return _Profiles;
			}
		}

		public string UserName
		{
			get { return Id; }
		}


		public string FullName
后面还有 272 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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