private void HumanoOnEspecificarTipoEntidade(HumanoFormModel model) { if (model.Entidade is T) { model.TipoEntidade = (int)Enum.Parse(typeof(TipoPersonagem), type.Name); } }
private void HumanoOnPreOperacao(ObjectContext context, HumanoFormModel model) { if (model.Entidade is T) { PreOperacao(context, (T)model.Entidade); } }