public JryCover Build(byte[] binaryData) { var cover = new JryCover() { CoverType = this.CoverType, BinaryData = binaryData }; cover.BuildMetaData(); cover.Id = this.Id; return cover; }
protected override void OnLoadCoverEnd(JryCover cover) { this.OpacityData = cover?.Opacity; base.OnLoadCoverEnd(cover); }
public CoverRef(JryCover obj) : base(obj) { this.CoverType = obj.CoverType; }
private void BuildCover(JryCover cover) => this.covers.Add(cover.Id, new CoverRef(cover));