public static WirecastShot CreateFromObject(int shotID, object shot) { string name = (string)Late.Get(shot, "Name"); if (!shots.ContainsKey(shotID)) { shots[shotID] = new WirecastShot() { ShotID = shotID, Name = name }; } return(shots[shotID]); }
private object Get(string property) { return(Late.Get(oDocumentLayerInterface, property)); }