コード例 #1
0
 public User_Role_ModuleService(IUser_Role_ModuleEntity entity, IModuleEntity _module)
 {
     this.entity = entity;
        this.module = _module;
 }
コード例 #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);
        }
コード例 #3
0
 public ModuleService(IModuleEntity entity)
 {
     this.entity = entity;
 }