public PropertyValue(PropertyValue toCopy) { this.longValues = toCopy.longValues.GetRange(0, toCopy.longValues.Count); this.floatValues = toCopy.floatValues.GetRange(0, toCopy.floatValues.Count); this.stringValues = toCopy.stringValues.GetRange(0, toCopy.stringValues.Count); }
public Property(ModelCode id, PropertyValue value) { this.id = id; this.value = value; }
public Property(ModelCode id, byte byteValue) { this.id = id; this.value = new PropertyValue(); SetValue(byteValue); }
public Property(Property toCopy) { this.id = toCopy.id; this.value = new PropertyValue(toCopy.PropertyValue); }
/// <summary> /// Initializes a new instance of the Property class /// </summary> /// <param name="id">property ID</param> public Property(ModelCode id) { this.id = id; this.value = new PropertyValue(); }
public Property(ModelCode id, DateTime dateTime) { this.id = id; this.value = new PropertyValue(); SetValue(dateTime); }
public Property(ModelCode id, TimeSpan timeSpan) { this.id = id; this.value = new PropertyValue(); SetValue(timeSpan); }
public Property(ModelCode id, string stringValue) { this.id = id; this.value = new PropertyValue(); SetValue(stringValue); }
public Property(ModelCode id, float floatValue) { this.id = id; this.value = new PropertyValue(); SetValue(floatValue); }
public Property(ModelCode id, long int64Value) { this.id = id; this.value = new PropertyValue(); SetValue(int64Value); }
public Property(ModelCode id, int int32Value) { this.id = id; this.value = new PropertyValue(); SetValue(int32Value); }
public Property(ModelCode id, short int16Value) { this.id = id; this.value = new PropertyValue(); SetValue(int16Value); }