예제 #1
0
        private void OnCreateClick(object sender, EventArgs e)
        {
            IFieldElement temp;

            CreateElement(out temp);
            SubscribeTo(temp);
            ElementCreated?.Invoke(temp);
        }
예제 #2
0
 private T CacheWithoutListen <T>(object key, T glue) where T : IJsCsGlue
 {
     _Cacher.CacheFromCSharpValue(key, glue);
     ElementCreated?.Invoke(this, glue);
     return(glue);
 }