public JsonEventBeanPropertyWriterMapProp( IJsonDelegate @delegate, JsonUnderlyingField field, string key) : base(@delegate, field) { _key = key; }
public JsonGetterSimpleSchemaWFragmentArray( JsonUnderlyingField field, string underlyingClassName, EventType fragmentType, EventBeanTypedEventFactory eventBeanTypedEventFactory) : base(field, underlyingClassName, fragmentType, eventBeanTypedEventFactory) { }
public JsonEventBeanPropertyWriterIndexedProp( IJsonDelegate @delegate, JsonUnderlyingField propertyName, int index) : base(@delegate, propertyName) { _index = index; }
public JsonEventBeanPropertyWriter( IJsonDelegate @delegate, JsonUnderlyingField field) { _delegate = @delegate; _field = field; }
public JsonGetterNestedArrayIndexedSchema( int index, JsonEventPropertyGetter innerGetter, string underlyingClassName, JsonUnderlyingField field) : base(index, innerGetter, underlyingClassName) { this._field = field; }
public JsonGetterMappedSchema( string key, string underlyingClassName, JsonUnderlyingField field) : base(key, underlyingClassName) { this._field = field; }
public JsonGetterIndexedSchema( int index, string underlyingClassName, EventType optionalInnerType, EventBeanTypedEventFactory eventBeanTypedEventFactory, JsonUnderlyingField field) : base(index, underlyingClassName, optionalInnerType, eventBeanTypedEventFactory) { this._field = field; }
public JsonGetterSimpleSchemaBase( JsonUnderlyingField field, string underlyingClassName, EventType fragmentType, EventBeanTypedEventFactory eventBeanTypedEventFactory) { this.Field = field; this.UnderlyingClassName = underlyingClassName; this.FragmentType = fragmentType; this.EventBeanTypedEventFactory = eventBeanTypedEventFactory; }
public static object GetJsonSimpleProp( JsonUnderlyingField field, object @object) { var und = (JsonEventObjectBase) @object; if (und.TryGetNativeValue(field.PropertyName, out var value)) { return value; } throw new KeyNotFoundException(field.PropertyName); }
internal Item( JsonUnderlyingField toField, JsonUnderlyingField optionalFromField, ExprForge forge, TypeWidenerSPI optionalWidener) { if (toField == null) { throw new ArgumentException("Null to-field"); } this.toField = toField; this.optionalFromField = optionalFromField; this.forge = forge; this.optionalWidener = optionalWidener; }
public static bool GetJsonIndexedPropExists( object @object, JsonUnderlyingField field, int index) { var und = (JsonEventObjectBase) @object; if (und.TryGetNativeValue(field.PropertyName, out var value)) { if (value == null) { return false; } if (value is Array array) { return CollectionUtil.ArrayExistsAtIndex(array, index); } throw new InvalidOperationException(MESSAGE_VALUE_NOT_AN_ARRAY); } throw new KeyNotFoundException(field.PropertyName); }
public JsonGetterMapRuntimeKeyedSchema(JsonUnderlyingField field) { this._field = field; }
public JsonGetterIndexedRuntimeIndexSchema(JsonUnderlyingField field) { this._field = field; }