コード例 #1
0
        public override object GetJsonProp(object @object)
        {
            var item = JsonFieldGetterHelperSchema.GetJsonIndexedProp(@object, _field.PropertyName, Index);
            if (item == null) {
                return null;
            }

            return InnerGetter.GetJsonProp(item);
        }
コード例 #2
0
        public override object GetJsonProp(object @object)
        {
            var value = JsonFieldGetterHelperSchema.GetJsonSimpleProp(_field, @object);
            if (value == null) {
                return null;
            }

            return InnerGetter.GetJsonProp(value);
        }
コード例 #3
0
        public override object GetJsonProp(object @object)
        {
            var item = JsonFieldGetterHelperProvided.GetJsonProvidedIndexedProp(@object, field, Index);
            if (item == null) {
                return null;
            }

            return InnerGetter.GetJsonProp(item);
        }
コード例 #4
0
        public override object GetJsonProp(object @object)
        {
            var value = JsonFieldGetterHelperProvided.GetJsonProvidedSimpleProp(@object, field);
            if (value == null) {
                return null;
            }

            return InnerGetter.GetJsonProp(value);
        }