示例#1
0
        protected override void OnNodeDeletedPhysically(object sender, NodeEventArgs e)
        {
            base.OnNodeDeletedPhysically(sender, e);

            if (e.GetCustomData(IdentitiesCustomDataKey) is List <int> ids)
            {
                SecurityHandler.DeleteIdentities(ids);
            }
        }
        protected override void OnNodeDeletedPhysically(object sender, NodeEventArgs e)
        {
            base.OnNodeDeletedPhysically(sender, e);

            var ids = e.CustomData as List <int>;

            if (ids != null)
            {
                SecurityHandler.DeleteIdentities(ids);
            }
        }