コード例 #1
0
        protected void CancelCreative(ActiveCreative creative)
        {
            VpaidController.RemoveAd(creative);

            if (CreativeCanceled != null)
            {
                CreativeCanceled(this, new CreativeEventArgs(creative.Source));
            }
        }
コード例 #2
0
        protected virtual void AdStopped(ActiveCreativeEventArgs e)
        {
            VpaidController.RemoveAd(e.ActiveCreative);

            if (CreativeSucceeded != null)
            {
                CreativeSucceeded(this, new CreativeEventArgs(e.ActiveCreative.Source));
            }
        }