Microsoft.Protocols.TestSuites.Common.Common.RecordCreatedItem C# (CSharp) Method

RecordCreatedItem() public static method

Record items impacted by current test case.
public static RecordCreatedItem ( string collectionId, string itemSubject ) : CreatedItems
collectionId string The CollectionId of the folder which the item is placed.
itemSubject string The subject of the item to delete.
return CreatedItems
        public static CreatedItems RecordCreatedItem(string collectionId, string itemSubject)
        {
            CreatedItems createdItems = new CreatedItems { CollectionId = collectionId };
            createdItems.ItemSubject.Add(itemSubject);

            return createdItems;
        }
Common