예제 #1
0
            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);
            }
예제 #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);;
 }