public CustomPropertyEventArgs( string newPropertyName, string oldPropertyName, PropertyValue oldPropertyValue, PropertyValue newPropertyValue) { m_newPropertyName = newPropertyName; m_oldPropertyName = oldPropertyName; m_oldPropertyValue = oldPropertyValue; m_newPropertyValue = newPropertyValue; }
public void Add(string key, PropertyValue propertyValue) { IPropertyCollection tilesheetProperties = m_tileSheet.Properties; tilesheetProperties[IndexKey(key)] = propertyValue; }
public bool TryGetValue(string key, out PropertyValue propertyValue) { IPropertyCollection tilesheetProperties = m_tileSheet.Properties; return tilesheetProperties.TryGetValue(IndexKey(key), out propertyValue); }
/// <summary> /// Constructs a property value from another /// </summary> /// <param name="propertyValue">Property value to clone</param> public PropertyValue(PropertyValue propertyValue) { m_value = propertyValue.m_value; }