From 3c4105a5979188d17c29c09b71d6cec05ebcc4c4 Mon Sep 17 00:00:00 2001 From: adecler Date: Thu, 18 Mar 2021 15:52:34 +0800 Subject: [PATCH] Add versioning for LogUsage --- UI_Engine/Compute/LogUsage.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI_Engine/Compute/LogUsage.cs b/UI_Engine/Compute/LogUsage.cs index 973cde80..25f58e75 100644 --- a/UI_Engine/Compute/LogUsage.cs +++ b/UI_Engine/Compute/LogUsage.cs @@ -22,6 +22,7 @@ using BH.Engine.Serialiser; using BH.oM.Base; +using BH.oM.Reflection.Attributes; using BH.oM.Reflection.Debugging; using BH.oM.UI; using System; @@ -41,6 +42,7 @@ public static partial class Compute /**** Public Methods ****/ /*************************************/ + [PreviousVersion("4.1", "BH.Engine.UI.Compute.LogUsage(System.String, System.String, System.Guid, System.String, System.Object, System.Collections.Generic.List)")] public static void LogUsage(string uiName, string uiVersion, Guid componentId, string callerName, object selectedItem, List events = null, string fileId = "", string fileName = "") { // If a projectID event is available, save the project code for this file