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

LoadDeleteElements() public static method

Load Delete elements in Sync response
public static LoadDeleteElements ( Response collectionCommands, Collection deleteElements ) : void
collectionCommands Response The delete operation response
deleteElements Collection The collection to be loaded in
return void
        public static void LoadDeleteElements(Response.SyncCollectionsCollectionCommands collectionCommands, Collection<string> deleteElements)
        {
            if (collectionCommands.Delete == null)
            {
                return;
            }

            foreach (Response.SyncCollectionsCollectionCommandsDelete deleteCommand in collectionCommands.Delete)
            {
                deleteElements.Add(deleteCommand.ServerId);
            }
        }
Common