コード例 #1
0
        public void Initialize(RepositoryExtensionFactory.ExtensionEvents events, IConfiguration config)
        {
            events.AddtoActionStarting((e) => {
                Debug.WriteLine("[Action Starting] [LOGGED] " + e.Entity.ToString() + " " + e.Action.ToString());
            });

            events.AddtoActionStared((e) => {
                Debug.WriteLine("[Action Completing] [LOGGED] " + e.Entity.ToString() + " " + e.Action.ToString());
            });


            //  events.CallEntityProcessed
        }
コード例 #2
0
 public void Initialize(RepositoryExtensionFactory.ExtensionEvents events, IConfiguration config)
 {
     events.AddtoActionStared(Validate);
 }