private static SetPropertiesParamsOfMultipleObjects UpdateElementsWithParams <T>(Vault vault, List <T> list , Dictionary <string, int> idDict, Dictionary <string, ObjVer> objVerDict, Func <T, PropertyValues> updateFunc) where T : BaseElement { var objVers = new SetPropertiesParamsOfMultipleObjects(); foreach (var tt in list) { var t = tt; var info = updateFunc(t); var setProps = new SetPropertiesParams(); var key = t.GetKey(); var objID = objVerDict[key].ObjID; var mfId = objID.ID; var objVer = vault.ObjectOperations.CheckOut(objID).ObjVer; setProps.ObjVer = objVer; setProps.PropertyValuesToSet = info; objVers.Add(-1, setProps); if (idDict != null) { idDict.Add(key, mfId); } } return(objVers); }
public ObjectVersionAndPropertiesOfMultipleObjects SetPropertiesOfMultipleObjects(SetPropertiesParamsOfMultipleObjects setPropertiesParamsOfObjects) { vault.MetricGatherer.MethodCalled(); throw new NotImplementedException(); }
public ObjectVersionAndPropertiesOfMultipleObjects SetPropertiesOfMultipleObjects(SetPropertiesParamsOfMultipleObjects SetPropertiesParamsOfObjects) { throw new NotImplementedException(); }