Esempio n. 1
0
        public void SetProperty(string name, object value, AMF0Types type)
        {
            var prop = _properties.FirstOrDefault(n => n.Name == name);

            if (prop == null)
            {
                _properties.Add(new AMFProperty(name, value, type));
            }
            else
            {
                _properties.Add(prop);
            }
        }
Esempio n. 2
0
 public void SetProperty(string name, object value, AMF0Types type)
 {
     var prop = _properties.FirstOrDefault( n => n.Name == name );
     if (prop == null)
         _properties.Add(new AMFProperty(name, value, type));
     else
         _properties.Add(prop);
 }
Esempio n. 3
0
 public AMFProperty(string name, object value, AMF0Types type)
 {
     Name  = name;
     Value = value;
     Type  = type;
 }
Esempio n. 4
0
 public AMFProperty(string name, object value, AMF0Types type)
 {
     Name = name;
     Value = value;
     Type = type;
 }