public override ValueGetter <VBuffer <TValue> > GetGetter <TValue>()
            {
                ValueGetter <VBuffer <TValue> > getter = _getter as ValueGetter <VBuffer <TValue> >;

                if (getter == null)
                {
                    throw Ch.Except($"Invalid TValue: '{typeof(TValue)}', " +
                                    $"expected type: '{_getter.GetType().GetGenericArguments().First().GetGenericArguments().First()}'.");
                }
                return(getter);
            }
Exemple #2
0
 public void NoMatch(ValueGetter getter)
 {
     throw new NotSupportedException("Compiling types is not supported for " + getter.GetType().Name);;
 }
 public void NoMatch(ValueGetter getter)
 {
     throw new NotSupportedException("Compiling types is not supported for " + getter.GetType().Name);;
 }