private static void BuildObjectMetaData(JryObject obj) { if (obj != null && !obj.IsMetaDataBuilded()) { obj.BuildMetaData(); } }
private static void BuildObjectMetaData(JryObject obj) { if (obj?.IsMetaDataBuilded() == false) { obj.BuildMetaData(); } }
private CombineResult CanCombine(Series to, Series @from) { if (!JryObject.CanCombineField(to.TheTVDBId, from.TheTVDBId)) { return(CombineResult.False("have diff TheTVDB id.")); } if (!JryObject.CanCombineField(to.ImdbId, from.ImdbId)) { return(CombineResult.False("have diff douban id.")); } if (!JryObject.CanCombineField(to.WorldLineId, from.WorldLineId)) { return(CombineResult.False("have diff world line id.")); } return(CombineResult.True); }
public bool IsObsolete(JryObject obj) { Debug.Assert(obj != null); return(this.IsObsolete(obj.GetType())); }
protected ObjectRef(JryObject obj) { this.Id = obj.Id; }
public bool IsObsolete(JryObject obj) { Debug.Assert(obj != null); return this.IsObsolete(obj.GetType()); }