internal static LibraryItem SetTextures(this LibraryItem item, String texture) { item.AddPropertyValue("Textures", texture); return item; }
public static LibraryItem AddPropertyValue(this LibraryItem item, string propertyName, object value) { var propertyValue = new LibraryItemPropertyValue() { PropertyName = propertyName, Value = value }; item.AddPropertyValue(propertyValue); return item; }
internal static LibraryItem SetMaterial(this LibraryItem item, String material) { item.AddPropertyValue("Material", material); return item; }
public static LibraryItem AddPropertyValue(this LibraryItem item, String propertyName, String libraryItemName) { var propertyValue = new LibraryItemPropertyLibraryItemName() { PropertyName = propertyName, LibraryItemName = libraryItemName }; item.AddPropertyValue(propertyValue); return item; }