Example #1
0
 /// <summary>
 /// Contains<br />
 /// 查看是否包含
 /// </summary>
 /// <param name="name"></param>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 // ReSharper disable once MemberHidesStaticFromOuterClass
 public static bool Contains <T>(string name) => ManagedModels.Contains <T, TManagedModel>(name);
Example #2
0
 /// <summary>
 /// Contains<br />
 /// 查看是否包含
 /// </summary>
 /// <param name="type"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 // ReSharper disable once MemberHidesStaticFromOuterClass
 public static bool Contains(Type type, string name) => ManagedModels.Contains(typeof(TManagedModel), type, name);
Example #3
0
 /// <summary>
 /// Contains<br />
 /// 查看是否包含
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 // ReSharper disable once MemberHidesStaticFromOuterClass
 public static bool Contains <T>() => ManagedModels.Contains <T, TManagedModel>();