// ReSharper restore UnusedMember.Local /// <summary> /// Keep the parameters intact, the field creator will call it through reflection. /// </summary> /// <param name="stateStore">Serializer with the state</param> /// <param name="fieldType">Type of value to store</param> /// <param name="stateName">Name of the value (default state variable in the form "root.SubField.SubSubField...")</param> // ReSharper disable UnusedMember.Local public ReadonlyItemLngDblField(IStateStore stateStore, Type fieldType, string stateName) // ReSharper restore UnusedMember.Local : base(Versions.Ver0, stateStore, fieldType, stateName) { ValidateType(fieldType, stateName); _sequenceNumField = stateStore.CreateField( _sequenceFieldInfo.FieldType, stateName + "." + _sequenceFieldInfo.Name, true); _valueField = stateStore.CreateField( _valueFieldInfo.FieldType, stateName + "." + _valueFieldInfo.Name, true); }