예제 #1
0
 public void ReadData(IObjectDataInput input)
 {
     if (input == null)
     {
         throw new ArgumentNullException(nameof(input));
     }
     _attributeName = input.ReadString();
     _regex         = input.ReadString();
 }
예제 #2
0
 public User Read(IObjectDataInput input)
 {
     return(new User
     {
         Name = input.ReadString()
     });
 }
예제 #3
0
 public void ReadData(IObjectDataInput input)
 {
     Bool         = input.ReadBool();
     BoolArray    = input.ReadBoolArray();
     Byte         = input.ReadByte();
     ByteArray    = input.ReadByteArray();
     Char         = input.ReadChar();
     CharArray    = input.ReadCharArray();
     Short        = input.ReadShort();
     ShortArray   = input.ReadShortArray();
     Int          = input.ReadInt();
     IntArray     = input.ReadIntArray();
     Long         = input.ReadLong();
     LongArray    = input.ReadLongArray();
     Float        = input.ReadFloat();
     FloatArray   = input.ReadFloatArray();
     Double       = input.ReadDouble();
     DoubleArray  = input.ReadDoubleArray();
     Serializable = input.ReadObject <IIdentifiedDataSerializable>();
     //input.ReadObject(SerializableArray);
     //Portable = input.ReadObject<IPortable>();
     //input.ReadObject(PortableArray);
     Chars       = new string(input.ReadCharArray());
     String      = input.ReadString();
     StringArray = input.ReadStringArray();
     DateTime    = input.ReadObject <DateTime>();
 }
 public void ReadData(IObjectDataInput input)
 {
     _attributeName = input.ReadString();
     _value         = input.ReadObject <object>();
     _equal         = input.ReadBoolean();
     _less          = input.ReadBoolean();
 }
 /// <exception cref="System.IO.IOException" />
 public virtual void ReadData(IObjectDataInput @in)
 {
     name    = @in.ReadString();
     address = @in.ReadObject <Address>();
     age     = @in.ReadInt();
     height  = @in.ReadLong();
     weight  = @in.ReadDouble();
 }
 public void ReadData(IObjectDataInput input)
 {
     if (input == null)
     {
         throw new ArgumentNullException(nameof(input));
     }
     _sql = input.ReadString();
 }
 public void ReadData(IObjectDataInput input)
 {
     if (input == null)
     {
         throw new ArgumentNullException(nameof(input));
     }
     AttributeName = input.ReadString();
     Value         = input.ReadObject <object>();
 }
            public object Read(IObjectDataInput input)
            {
                var json = input.ReadString();
                var deserializeObject =
                    JsonConvert.DeserializeObject(json, new JsonSerializerSettings {
                    TypeNameHandling = TypeNameHandling.All
                });

                return(deserializeObject);
            }
예제 #9
0
        /// <inheritdoc />
        public void ReadData(IObjectDataInput input)
        {
            if (input == null)
            {
                throw new ArgumentNullException(nameof(input));
            }

            AttributePath = input.ReadString();
            ReadAggregatorData(input);
        }
예제 #10
0
        public void ReadData(IObjectDataInput input)
        {
            if (input == null)
            {
                throw new ArgumentNullException(nameof(input));
            }

            Type       = (ProtocolType)input.ReadInt();
            Identifier = input.ReadString();
        }
예제 #11
0
        public void ReadData(IObjectDataInput input)
        {
            _attributeName = input.ReadString();
            var size = input.ReadInt();

            _values = new object[size];
            for (var i = 0; i < size; i++)
            {
                _values[i] = input.ReadObject <object>();
            }
        }
        public object Read(IObjectDataInput input)
        {
            int           size = input.ReadInt();
            List <string> list = new List <string>(size);

            for (int i = 0; i < size; i++)
            {
                list.Add(input.ReadString());
            }
            return(list);
        }
        public void ReadData(IObjectDataInput input)
        {
            if (input == null) throw new ArgumentNullException(nameof(input));

            _attributeName = input.ReadString();
            var size = input.ReadInt();
            _values = new object[size];
            for (var i = 0; i < size; i++)
            {
                _values[i] = input.ReadObject<object>();
            }
        }
        public void ReadData(IObjectDataInput input)
        {
            if (input == null)
            {
                throw new ArgumentNullException(nameof(input));
            }

            _attributeName = input.ReadString();
            _value         = input.ReadObject <object>();
            _equal         = input.ReadBool();
            _less          = input.ReadBool();
        }
예제 #15
0
 public void ReadData(IObjectDataInput input)
 {
     _className = input.ReadString();
 }
 public override JavaClass Read(IObjectDataInput input)
 {
     return(new JavaClass(input.ReadString()));
 }
예제 #17
0
 public void ReadData(IObjectDataInput input)
 {
     Id   = input.ReadInt();
     Name = input.ReadString();
 }
 public void ReadData(IObjectDataInput input)
 {
     _value = input.ReadString();
 }
 public virtual void ReadData(IObjectDataInput @in)
 {
     street = @in.ReadString();
     no     = @in.ReadInt();
 }
 public void ReadData(IObjectDataInput input)
 {
     _attributeName = input.ReadString();
     _to            = input.ReadObject <object>();
     _from          = input.ReadObject <object>();
 }
 /// <exception cref="System.IO.IOException"></exception>
 public override HazelcastJsonValue Read(IObjectDataInput input)
 {
     return(new HazelcastJsonValue(input.ReadString()));
 }
 /// <exception cref="System.IO.IOException"></exception>
 public override string Read(IObjectDataInput input)
 {
     return(input.ReadString());
 }
예제 #23
0
 public void ReadData(IObjectDataInput input)
 {
     _attributeName = input.ReadString();
     _regex         = input.ReadString();
 }
예제 #24
0
 public void ReadData(IObjectDataInput input)
 {
     AttributeName = input.ReadString();
     Expression    = input.ReadString();
 }
 public void ReadData(IObjectDataInput input)
 {
     AttributeName = input.ReadString();
     Value         = input.ReadObject <object>();
 }