public User_Role_ModuleService(IUser_Role_ModuleEntity entity, IModuleEntity _module)
 {
     this.entity = entity;
        this.module = _module;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Gets the description of the given entity with it's module description as prefix.
        /// </summary>
        public static string GlobalDescription(this IModuleEntity entity)
        {
            var prefix = (entity.Module != null) ? entity.Module.ToString() : "?";

            return(prefix + "." + entity);
        }
Exemplo n.º 3
0
 public ModuleService(IModuleEntity entity)
 {
     this.entity = entity;
 }