コード例 #1
0
        public static T GetDynel <T>(Identity identity) where T : Dynel
        {
            Dynel dynel = AllDynels.FirstOrDefault(x => x.Identity == identity);

            return(dynel == null ? null : dynel.Cast <T>());
        }
コード例 #2
0
 public static bool Find(Identity identity, out Dynel dynel)
 {
     return((dynel = AllDynels.FirstOrDefault(x => x.Identity == identity)) != null);
 }
コード例 #3
0
 public static Dynel GetDynel(Identity identity)
 {
     return(AllDynels.FirstOrDefault(x => x.Identity == identity));
 }