本文整理汇总了C#中T4MVC_JsonResult类的典型用法代码示例。如果您正苦于以下问题:C# T4MVC_JsonResult类的具体用法?C# T4MVC_JsonResult怎么用?C# T4MVC_JsonResult使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
T4MVC_JsonResult类属于命名空间,在下文中一共展示了T4MVC_JsonResult类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: AddComment
public override System.Web.Mvc.JsonResult AddComment(long articleId, string textComment, long? conversationId) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AddComment);
callInfo.RouteValueDictionary.Add("articleId", articleId);
callInfo.RouteValueDictionary.Add("textComment", textComment);
callInfo.RouteValueDictionary.Add("conversationId", conversationId);
return callInfo;
}
开发者ID:Thirlan,项目名称:insideword,代码行数:7,代码来源:ConversationController.generated.cs
示例2: AutoComplete
public override System.Web.Mvc.JsonResult AutoComplete(string q, int limit, string timestamp) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoComplete);
callInfo.RouteValueDictionary.Add("q", q);
callInfo.RouteValueDictionary.Add("limit", limit);
callInfo.RouteValueDictionary.Add("timestamp", timestamp);
return callInfo;
}
开发者ID:robkobobko,项目名称:TicketDesk,代码行数:7,代码来源:TagListController.generated.cs
示例3: DynamicGridData
public override System.Web.Mvc.JsonResult DynamicGridData(int page, int rows, string search, string sidx, string sord) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DynamicGridData);
callInfo.RouteValueDictionary.Add("page", page);
callInfo.RouteValueDictionary.Add("rows", rows);
callInfo.RouteValueDictionary.Add("search", search);
callInfo.RouteValueDictionary.Add("sidx", sidx);
callInfo.RouteValueDictionary.Add("sord", sord);
return callInfo;
}
开发者ID:coreframework,项目名称:Core-Framework,代码行数:9,代码来源:Admin.PageController.generated.cs
示例4: UserStatusChange
public override System.Web.Mvc.JsonResult UserStatusChange(System.Guid id, bool isOnline) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.UserStatusChange);
callInfo.RouteValueDictionary.Add("id", id);
callInfo.RouteValueDictionary.Add("isOnline", isOnline);
return callInfo;
}
开发者ID:avijassra,项目名称:CodeLab,代码行数:6,代码来源:Html5.AdminController.generated.cs
示例5: ActionOnAll
public override System.Web.Mvc.JsonResult ActionOnAll(bool everyOneOnline) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ActionOnAll);
callInfo.RouteValueDictionary.Add("everyOneOnline", everyOneOnline);
return callInfo;
}
开发者ID:avijassra,项目名称:CodeLab,代码行数:5,代码来源:Html5.AdminController.generated.cs
示例6: WithLastName
public override System.Web.Mvc.JsonResult WithLastName(string term, UCosmic.Domain.StringMatchStrategy matchStrategy) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.WithLastName);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "matchStrategy", matchStrategy);
return callInfo;
}
开发者ID:saibalghosh,项目名称:UCosmic,代码行数:6,代码来源:People.PersonInfoController.generated.cs
示例7: GetThings
public override System.Web.Mvc.JsonResult GetThings(int radius, double latitude, double longitude) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetThings);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "radius", radius);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "latitude", latitude);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "longitude", longitude);
return callInfo;
}
开发者ID:benpowell,项目名称:RavenLocal,代码行数:7,代码来源:ThingController.generated.cs
示例8: GetImportStatus
public override System.Web.Mvc.JsonResult GetImportStatus() {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetImportStatus);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:4,代码来源:FbStreamHarvestController.generated.cs
示例9: ByEmail
public override System.Web.Mvc.JsonResult ByEmail(string email) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ByEmail);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "email", email);
return callInfo;
}
开发者ID:saibalghosh,项目名称:UCosmic,代码行数:5,代码来源:People.PersonInfoController.generated.cs
示例10: ValidateValue
public override System.Web.Mvc.JsonResult ValidateValue(UCosmic.Www.Mvc.Areas.Identity.Models.UpdateEmailValueForm model) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ValidateValue);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
return callInfo;
}
开发者ID:saibalghosh,项目名称:UCosmic,代码行数:5,代码来源:Identity.UpdateEmailValueController.generated.cs
示例11: QuerySongs
public override System.Web.Mvc.JsonResult QuerySongs(long playlistId, string queryStr) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.QuerySongs);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
callInfo.RouteValueDictionary.Add("queryStr", queryStr);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:6,代码来源:PlaylistController.generated.cs
示例12: GetDetails
public override System.Web.Mvc.JsonResult GetDetails(long playlistId) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetDetails);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:5,代码来源:PlaylistController.generated.cs
示例13: UpdateSong
public override System.Web.Mvc.JsonResult UpdateSong(long playlistId, long playlistSongRatingId, string songName, string artistName, string imageUrl) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.UpdateSong);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
callInfo.RouteValueDictionary.Add("playlistSongRatingId", playlistSongRatingId);
callInfo.RouteValueDictionary.Add("songName", songName);
callInfo.RouteValueDictionary.Add("artistName", artistName);
callInfo.RouteValueDictionary.Add("imageUrl", imageUrl);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:9,代码来源:PlaylistController.generated.cs
示例14: DetachSong
public override System.Web.Mvc.JsonResult DetachSong(Kululu.Entities.Playlist playlist, long playlistSongRatingId) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DetachSong);
callInfo.RouteValueDictionary.Add("playlist", playlist);
callInfo.RouteValueDictionary.Add("playlistSongRatingId", playlistSongRatingId);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:6,代码来源:PlaylistController.generated.cs
示例15: DeleteSong
public override System.Web.Mvc.JsonResult DeleteSong(long playlistId, long playlistSongRatingId) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DeleteSong);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
callInfo.RouteValueDictionary.Add("playlistSongRatingId", playlistSongRatingId);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:6,代码来源:PlaylistController.generated.cs
示例16: AddSong
public override System.Web.Mvc.JsonResult AddSong(long playlistId, string songName, string videoId, short newRatingValue, string songImage, string songArtist, double? songDuration) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AddSong);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
callInfo.RouteValueDictionary.Add("songName", songName);
callInfo.RouteValueDictionary.Add("videoId", videoId);
callInfo.RouteValueDictionary.Add("newRatingValue", newRatingValue);
callInfo.RouteValueDictionary.Add("songImage", songImage);
callInfo.RouteValueDictionary.Add("songArtist", songArtist);
callInfo.RouteValueDictionary.Add("songDuration", songDuration);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:11,代码来源:PlaylistController.generated.cs
示例17: Create
public override System.Web.Mvc.JsonResult Create(MBlog.Models.Media.NewMediaViewModel model) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Create);
callInfo.RouteValueDictionary.Add("model", model);
return callInfo;
}
开发者ID:kevinrjones,项目名称:mblog,代码行数:5,代码来源:MediaController.generated.cs
示例18: Synchronize
public override System.Web.Mvc.JsonResult Synchronize() {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Synchronize);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:4,代码来源:FbStreamHarvestController.generated.cs
示例19: GetActivityStream
public override System.Web.Mvc.JsonResult GetActivityStream(long playlistId, Kululu.Entities.ActivityType type, long? userId, System.DateTime? startStreamDate, int numOfActivities) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetActivityStream);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
callInfo.RouteValueDictionary.Add("type", type);
callInfo.RouteValueDictionary.Add("userId", userId);
callInfo.RouteValueDictionary.Add("startStreamDate", startStreamDate);
callInfo.RouteValueDictionary.Add("numOfActivities", numOfActivities);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:9,代码来源:PlaylistController.generated.cs
示例20: GetSongs
public override System.Web.Mvc.JsonResult GetSongs(long localBussinesId, long? playlistId, short startCount, short increment, Kululu.Entities.Common.SortOptions sort, bool descending, long referringPlaylistSongRatingId) {
var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetSongs);
callInfo.RouteValueDictionary.Add("localBussinesId", localBussinesId);
callInfo.RouteValueDictionary.Add("playlistId", playlistId);
callInfo.RouteValueDictionary.Add("startCount", startCount);
callInfo.RouteValueDictionary.Add("increment", increment);
callInfo.RouteValueDictionary.Add("sort", sort);
callInfo.RouteValueDictionary.Add("descending", descending);
callInfo.RouteValueDictionary.Add("referringPlaylistSongRatingId", referringPlaylistSongRatingId);
return callInfo;
}
开发者ID:UrK,项目名称:kululu_v1,代码行数:11,代码来源:PlaylistController.generated.cs
注:本文中的T4MVC_JsonResult类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论