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); } }
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); }
public AMFProperty(string name, object value, AMF0Types type) { Name = name; Value = value; Type = type; }