public static T GetLastOrDefaultAmbientValue <T>(this ITypeDescriptorContext ctx) where T : class { return(ctx.GetAllAmbientValues <T>().LastOrDefault() as T); }
public static T GetLastOrDefaultAmbientValue <T>(this ITypeDescriptorContext ctx) where T : class { return(ctx.GetAllAmbientValues <T>().LastOrDefault() as T); }