• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# JMMServerBinary类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中JMMServerBinary的典型用法代码示例。如果您正苦于以下问题:C# JMMServerBinary类的具体用法?C# JMMServerBinary怎么用?C# JMMServerBinary使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



JMMServerBinary类属于命名空间,在下文中一共展示了JMMServerBinary类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: FileFfdshowPresetVM

 public FileFfdshowPresetVM(JMMServerBinary.Contract_FileFfdshowPreset contract)
 {
     this.FileFfdshowPresetID = contract.FileFfdshowPresetID;
     this.Hash = contract.Hash;
     this.FileSize = contract.FileSize;
     this.Preset = contract.Preset;
 }
开发者ID:dizzydezz,项目名称:jmm,代码行数:7,代码来源:FileFfdshowPresetVM.cs


示例2: Trakt_FriendVM

		public Trakt_FriendVM(JMMServerBinary.Contract_Trakt_Friend contract)
		{
			WatchedEpisodes = new List<Trakt_WatchedEpisodeVM>();

			this.Trakt_FriendID = contract.Trakt_FriendID;
			this.Username = contract.Username;
			this.Full_name = contract.Full_name;
			this.Gender = contract.Gender;
			this.Age = contract.Age;
			this.Location = contract.Location;
			this.About = contract.About;
			this.Joined = contract.Joined;
			this.JoinedDate = contract.JoinedDate;
			this.Avatar = contract.Avatar;
			//this.Avatar = "/Images/16_Refresh.png";
			this.Url = contract.Url;

			

			foreach (JMMServerBinary.Contract_Trakt_WatchedEpisode ep in contract.WatchedEpisodes)
				WatchedEpisodes.Add(new Trakt_WatchedEpisodeVM(ep));

			LastEpisodeWatched = null;
			LastEpisodeWatchedDate = null;
			if (WatchedEpisodes.Count > 0)
			{
				LastEpisodeWatched = WatchedEpisodes[0];
				LastEpisodeWatchedDate = LastEpisodeWatched.WatchedDate;
			}
		}
开发者ID:dizzydezz,项目名称:jmm,代码行数:30,代码来源:Trakt_FriendVM.cs


示例3: MissingFileVM

        public MissingFileVM(JMMServerBinary.Contract_MissingFile contract)
        {
            this.EpisodeID = contract.EpisodeID;
            this.FileID = contract.FileID;
            this.AnimeID = contract.AnimeID;
            this.AnimeTitle = contract.AnimeTitle;
            this.EpisodeNumber = contract.EpisodeNumber;
            this.EpisodeType = contract.EpisodeType;

            AnimeSeries = null;
            if (contract.AnimeSeries != null) AnimeSeries = new AnimeSeriesVM(contract.AnimeSeries);

            HasSeriesData = AnimeSeries != null;

            string shortType = "";
            switch (EpisodeTypeEnum)
            {
                case JMMClient.EpisodeType.Credits: shortType = "C"; break;
                case JMMClient.EpisodeType.Episode: shortType = ""; break;
                case JMMClient.EpisodeType.Other: shortType = "O"; break;
                case JMMClient.EpisodeType.Parody: shortType = "P"; break;
                case JMMClient.EpisodeType.Special: shortType = "S"; break;
                case JMMClient.EpisodeType.Trailer: shortType = "T"; break;
            }
            EpisodeTypeAndNumber = string.Format("{0}{1}", shortType, EpisodeNumber);
        }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:26,代码来源:MissingFileVM.cs


示例4: Trakt_CommentVM

        public Trakt_CommentVM(JMMServerBinary.Contract_Trakt_Comment contract)
        {
            this.CommentType = contract.CommentType;
            this.Text = contract.Text;
            this.Spoiler = contract.Spoiler;
            this.Inserted = contract.Inserted;

            this.Comment_Url = contract.Comment_Url;

            this.Episode_Season = contract.Episode_Season;
            this.Episode_Number = contract.Episode_Number;
            this.Episode_Title = contract.Episode_Title;

            if (!string.IsNullOrEmpty(Episode_Title) && Episode_Title.Length > 30)
                Episode_Title = Episode_Title.Substring(0, 30) + "...";

            this.Episode_Overview = contract.Episode_Overview;
            this.Episode_Url = contract.Episode_Url;
            this.Episode_Screenshot = contract.Episode_Screenshot;
            this.AnimeSeriesID = contract.AnimeSeriesID;

            if (contract.TraktShow != null)
                this.TraktShow = new TraktTVShowResponseVM(contract.TraktShow);

            if (contract.Anime != null)
                this.Anime = new AniDB_AnimeVM(contract.Anime);

            Console.Write(this.FullImagePath);
            Console.Write(this.OnlineImagePath);
            Console.Write(this.ImagePathForDisplay);

            //this.Text = "Sora asks Haru to take her measurements so she can have a uniform made. The next day Nao comes over to bring Haruka some mosquito repellent, since Sora is scared of mosquitoes, and then leaves almost immediately. The next day Ryouhei invites Haruka to the school rooftop to take a peek at the girls cleaning the pool. Haruka warns Ryouhei, though, not to peek at Nao, and leaves. Much later Ryouhei tells Nao that Haruka, “the prince she has been waiting for,” has a crush on her; but she thinks he does not like her. The truth is that something happened between the two many summers ago: Nao, trying to escape the noise of her arguing parents, ran to Haruka's house. At that time Haruka was sleeping at their veranda, and was surprised to see Nao on top of him with her clothes undone. Until now Nao feels guilty for what she did. However, Ryouhei, even Akira and Kazuha, is into the act of bringing Haruka and Nao together. They did so by making the two meet at school pool on a Sunday. When they were changing after the swimming lesson, Haruka rushes into the girls' locker room when Nao was scared by a black cat inside a box. The school supervisor hears their chatter, but the two were able to hide inside a box before he catches them. Thinking it was just the cat, he leaves. There, Nao gets to know that Haruka does not hate her, only that he was just surprised at the events of that summer day, dispelling her assumptions. Meanwhile, Sora shows her hatred of Nao, whom she thinks is the reason why Haruka has been preoccupied the past couple of days, at home on her laptop.";
        }
开发者ID:karehaqt,项目名称:jmmclient,代码行数:33,代码来源:Trakt_ShoutVM.cs


示例5: LogMessageVM

		public LogMessageVM(JMMServerBinary.Contract_LogMessage contract)
		{
			this.LogMessageID = contract.LogMessageID;
			this.LogType = contract.LogType;
			this.LogContent = contract.LogContent;
			this.LogDate = contract.LogDate;
		}
开发者ID:dizzydezz,项目名称:jmm,代码行数:7,代码来源:LogMessageVM.cs


示例6: AnimeTitleVM

 public AnimeTitleVM(JMMServerBinary.Contract_AnimeTitle contract)
 {
     this.AnimeID = contract.AnimeID;
     this.TitleType = contract.TitleType;
     this.Language = contract.Language;
     this.Title = contract.Title;
 }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:7,代码来源:AnimeTitleVM.cs


示例7: MovieDBMovieSearchResultVM

 public MovieDBMovieSearchResultVM(JMMServerBinary.Contract_MovieDBMovieSearchResult contract)
 {
     this.MovieID = contract.MovieID;
     this.MovieName = contract.MovieName;
     this.OriginalName = contract.OriginalName;
     this.Overview = contract.Overview;
 }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:7,代码来源:MovieDBMovieSearchResultVM.cs


示例8: PlaylistVM

        public PlaylistVM(JMMServerBinary.Contract_Playlist contract)
        {
            PlaylistObjects = new ObservableCollection<PlaylistItemVM>();

            Populate(contract);
            //PopulatePlaylistObjects();
        }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:7,代码来源:PlaylistVM.cs


示例9: VideoLocalRenamedVM

 public VideoLocalRenamedVM(JMMServerBinary.Contract_VideoLocalRenamed contract)
 {
     this.VideoLocalID = contract.VideoLocalID;
     this.NewFileName = contract.NewFileName;
     this.VideoLocal = new VideoLocalVM(contract.VideoLocal);
     this.Success = contract.Success;
 }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:7,代码来源:VideoLocalRenamedVM.cs


示例10: AniDBReleaseGroupVM

 public AniDBReleaseGroupVM(JMMServerBinary.Contract_AniDBReleaseGroup contract)
 {
     this.GroupID = contract.GroupID;
     this.GroupName = contract.GroupName;
     this.UserCollecting = contract.UserCollecting;
     this.FileCount = contract.FileCount;
 }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:7,代码来源:AniDBReleaseGroupVM.cs


示例11: CrossRef_AniDB_TvDBEpisodeVM

 public CrossRef_AniDB_TvDBEpisodeVM(JMMServerBinary.Contract_CrossRef_AniDB_TvDB_Episode contract)
 {
     this.AnimeID = contract.AnimeID;
     this.AniDBEpisodeID = contract.AniDBEpisodeID;
     this.CrossRef_AniDB_TvDB_EpisodeID = contract.CrossRef_AniDB_TvDB_EpisodeID;
     this.TvDBEpisodeID = contract.TvDBEpisodeID;
 }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:7,代码来源:CrossRef_AniDB_TvDBEpisodeVM.cs


示例12: GroupFilterExtendedVM

        public GroupFilterExtendedVM(JMMServerBinary.Contract_GroupFilterExtended contract)
        {
            this.GroupFilter = new GroupFilterVM(contract.GroupFilter);

            SeriesCount = contract.SeriesCount;
            GroupCount = contract.GroupCount;
        }
开发者ID:dizzydezz,项目名称:jmm,代码行数:7,代码来源:GroupFilterExtendedVM.cs


示例13: AdminMessage

 public AdminMessage(JMMServerBinary.Contract_AdminMessage contract)
 {
     AdminMessageId = contract.AdminMessageId;
     MessageDate = contract.MessageDate;
     MessageType = contract.MessageType;
     Message = contract.Message;
     MessageURL = contract.MessageURL;
 }
开发者ID:ElementalCrisis,项目名称:jmmclient,代码行数:8,代码来源:AdminMessage.cs


示例14: CrossRef_AniDB_TvDBVM

		public CrossRef_AniDB_TvDBVM(JMMServerBinary.Contract_CrossRef_AniDB_TvDB contract)
		{
			this.AnimeID = contract.AnimeID;
			this.TvDBID = contract.TvDBID;
			this.CrossRef_AniDB_TvDBID = contract.CrossRef_AniDB_TvDBID;
			this.TvDBSeasonNumber = contract.TvDBSeasonNumber;
			this.CrossRefSource = contract.CrossRefSource;
		}
开发者ID:dizzydezz,项目名称:jmm,代码行数:8,代码来源:CrossRef_AniDB_TvDBVM.cs


示例15: Trakt_ImageFanartVM

 public Trakt_ImageFanartVM(JMMServerBinary.Contract_Trakt_ImageFanart contract)
 {
     this.Trakt_ImageFanartID = contract.Trakt_ImageFanartID;
     this.Trakt_ShowID = contract.Trakt_ShowID;
     this.Season = contract.Season;
     this.ImageURL = contract.ImageURL;
     this.Enabled = contract.Enabled;
 }
开发者ID:dizzydezz,项目名称:jmm,代码行数:8,代码来源:Trakt_ImageFanartVM.cs


示例16: CrossRef_AniDB_OtherVM

 public CrossRef_AniDB_OtherVM(JMMServerBinary.Contract_CrossRef_AniDB_Other contract)
 {
     this.CrossRef_AniDB_OtherID = contract.CrossRef_AniDB_OtherID;
     this.AnimeID = contract.AnimeID;
     this.CrossRefID = contract.CrossRefID;
     this.CrossRefSource = contract.CrossRefSource;
     this.CrossRefType = contract.CrossRefType;
 }
开发者ID:dizzydezz,项目名称:jmm,代码行数:8,代码来源:CrossRef_AniDB_OtherVM.cs


示例17: CrossRef_AniDB_TraktResultVM

		public CrossRef_AniDB_TraktResultVM(JMMServerBinary.Contract_CrossRef_AniDB_TraktResult contract)
		{
			this.AnimeID = contract.AnimeID;
			this.TraktID = contract.TraktID;
			this.TraktSeasonNumber = contract.TraktSeasonNumber;
			this.AdminApproved = contract.AdminApproved;
			this.ShowName = contract.ShowName;
		}
开发者ID:dizzydezz,项目名称:jmm,代码行数:8,代码来源:CrossRef_AniDB_TraktResultVM.cs


示例18: MovieDB_MovieVM

 public MovieDB_MovieVM(JMMServerBinary.Contract_MovieDB_Movie contract)
 {
     this.MovieDB_MovieID = contract.MovieDB_MovieID;
     this.MovieId = contract.MovieId;
     this.MovieName = contract.MovieName;
     this.OriginalName = contract.OriginalName;
     this.Overview = contract.Overview;
 }
开发者ID:dizzydezz,项目名称:jmm,代码行数:8,代码来源:MovieDB_MovieVM.cs


示例19: AniDB_RecommendationVM

 public AniDB_RecommendationVM(JMMServerBinary.Contract_AniDB_Recommendation contract)
 {
     this.AniDB_RecommendationID = contract.AniDB_RecommendationID;
     this.AnimeID = contract.AnimeID;
     this.UserID = contract.UserID;
     this.RecommendationType = contract.RecommendationType;
     this.RecommendationText = contract.RecommendationText;
 }
开发者ID:karehaqt,项目名称:jmmclient,代码行数:8,代码来源:AniDB_RecommendationVM.cs


示例20: CrossRef_AniDB_TraktVM

 public CrossRef_AniDB_TraktVM(JMMServerBinary.Contract_CrossRef_AniDB_Trakt contract)
 {
     this.CrossRef_AniDB_TraktID = contract.CrossRef_AniDB_TraktID;
     this.AnimeID = contract.AnimeID;
     this.TraktID = contract.TraktID;
     this.TraktSeasonNumber = contract.TraktSeasonNumber;
     this.CrossRefSource = contract.CrossRefSource;
 }
开发者ID:dizzydezz,项目名称:jmm,代码行数:8,代码来源:CrossRef_AniDB_TraktVM.cs



注:本文中的JMMServerBinary类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# JObject类代码示例发布时间:2022-05-24
下一篇:
C# JJCalls类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap