资源简介
Asp.net Mvc开源论坛mvcforum中版源码

代码片段和文件信息
using System.Web.Mvc;
using MVCForum.Domain.DomainModel;
using MVCForum.Domain.DomainModel.Attributes;
using MVCForum.Domain.Interfaces.Badges;
using MVCForum.Domain.Interfaces.Services;
namespace Badge.AuthorMarkAsSolution
{
[Id(“d68c289a-e3f7-4f55-ae4f-fc7ac2147781“)]
[Name(“AuthorMarkAsSolution“)]
[DisplayName(“Badge.AuthorMarkAsSolution.Name“)]
[Description(“Badge.AuthorMarkAsSolution.Desc“)]
[Image(“UserMarkAsSolutionBadge.png“)]
[AwardsPoints(2)]
public class AuthorMarkAsSolutionBadge : IMarkAsSolutionBadge
{
private readonly ITopicService _topicService;
private readonly ICategoryService _categoryService;
public AuthorMarkAsSolutionBadge()
{
_topicService = DependencyResolver.Current.GetService();
_categoryService = DependencyResolver.Current.GetService();
}
///
/// Post is marked as the answer to a topic - give the topic author a badge
///
///
public bool Rule(MembershipUser user)
{
var allCats = _categoryService.GetAll();
return _topicService.GetSolvedTopicsByMember(user.Id allCats).Count >= 1;
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4636 2016-09-10 10:50 MVCForum.NuGet\MVCForum.NuGet.csproj
....... 216 2016-08-31 23:43 MVCForum.NuGet\NuGet.config
....... 3957976 2016-08-31 23:43 MVCForum.NuGet\NuGet.exe
....... 8242 2016-08-31 23:43 MVCForum.NuGet\NuGetPackage.ps1
....... 5466 2016-08-31 23:43 MVCForum.NuGet\NuGetSetup.ps1
....... 4487 2016-08-31 23:43 MVCForum.NuGet\Package.nuspec
文件 901 2016-09-18 21:05 MVCForum.NuGet\Properties\AssemblyInfo.cs
....... 403 2016-08-31 23:43 MVCForum.NuGet\tools\init.ps1
....... 1811 2016-08-31 23:43 MVCForum.NuGet\tools\install.ps1
....... 387 2016-08-31 23:43 MVCForum.NuGet\tools\uninstall.ps1
....... 14901 2016-08-31 23:43 MVCForum.Services\ActivityService.cs
文件 24725 2016-09-24 00:00 MVCForum.Services\BadgeService.cs
....... 5907 2016-08-31 23:43 MVCForum.Services\BannedEmailService.cs
....... 4284 2016-08-31 23:43 MVCForum.Services\BannedWordService.cs
....... 1103 2016-08-31 23:43 MVCForum.Services\BlockService.cs
....... 4349 2016-08-31 23:43 MVCForum.Services\CacheService.cs
....... 4499 2016-08-31 23:43 MVCForum.Services\CategoryNotificationService.cs
....... 7224 2016-08-31 23:43 MVCForum.Services\CategoryPermissionForRoleService.cs
文件 17161 2016-09-18 22:46 MVCForum.Services\CategoryService.cs
....... 6524 2016-08-31 23:43 MVCForum.Services\ConfigService.cs
....... 652 2016-08-31 23:43 MVCForum.Services\Data\Caching\CachingConfiguration.cs
文件 4725 2016-09-17 20:20 MVCForum.Services\Data\Context\MVCForumContext.cs
....... 594 2016-08-31 23:43 MVCForum.Services\Data\Mapping\ActivityMapping.cs
....... 853 2016-08-31 23:43 MVCForum.Services\Data\Mapping\BadgeMapping.cs
....... 716 2016-08-31 23:43 MVCForum.Services\Data\Mapping\BadgeTypeTimeLastCheckedMapping.cs
....... 469 2016-08-31 23:43 MVCForum.Services\Data\Mapping\BannedEmailMapping.cs
....... 518 2016-08-31 23:43 MVCForum.Services\Data\Mapping\BannedWordMapping.cs
....... 657 2016-08-31 23:43 MVCForum.Services\Data\Mapping\BlockMapping.cs
....... 1850 2016-08-31 23:43 MVCForum.Services\Data\Mapping\CategoryMapping.cs
....... 571 2016-08-31 23:43 MVCForum.Services\Data\Mapping\CategoryNotificationMapping.cs
............此处省略1882个文件信息
- 上一篇:c#+sql 学生信息管理系统
- 下一篇:ASP.net项目开发实践
相关资源
- 最新C#9.0官方中文教程(共1866页)
- 输入框自动切换中文(C#winform)vs20
- C# 植物大战僵尸中文版
- unity5圣典中文API手册v0.02.chm
- CSharp language specification 5.0中文(C# 语
- Unity5实战:使用C#和Unity开发多平台游
- C#入门经典(第5版)中文高清版含代
-
Visual.Studio.NET.fr
amework技术内幕(高 - HelixToolkitWPF中文手册.rar
- C#测试驱动开发(中文清晰版)
- C#语言定义文档 中文版(微软官网)
- Effective C# 中文版
- C#本质论(中文版)[超清晰]
- C#文档中文版(微软)
- C#网络抓包MySniffer+WinPcap_中文技术文档
- ASP.NET MVC 5入门指南(中文PDF+源码)
- C#设计模式 (美)James W.Cooper著 中文
- 《C#设计模式》中文版 PDF 免费
- C#图解教程_中文版高清PDF,带书签
- ZPL 打印条码、二维码及小票中文/汉字
- C#语言规范5.0中文版目录版
- NModbusAPI说明文档中文的
- 数据结构与算法:C#语言描述(中文)
- C#3.0 CookBook(中文版)-3 (共3部分)
- 数据结构与算法:C#语言描述(中文)
- 《C#设计模式》经典书籍,中文版
- 优傲机器人ur robot点动控制程序c#源代
- C# 23种设计模式中文高清带书签
- zw_WPF_开发教程(_中文版).zip
- opc应用程序入门中文
评论
共有 条评论