Пример #1
0
 /// <summary>
 /// Tests whether or not there is an endpoint in the system for creating new entities of the entityType
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="registry"></param>
 /// <returns></returns>
 public static bool HasNewUrl <T>(this IUrlRegistry registry)
 {
     return(registry.HasNewUrl(typeof(T)));
 }
Пример #2
0
 public bool HasNewEndpoint(Type type)
 {
     return(_urls.HasNewUrl(type));
 }