コード例 #1
0
        internal static LibraryContainer CreateLibraryContainer(IBaseSpaceClient client, string libraryPrepId = null, string userContainerId = null, string containerType = null, bool indexByWell = true)
        {
            libraryPrepId   = libraryPrepId ?? "1";
            userContainerId = userContainerId ?? string.Format("container-sdk-{0}", StringHelpers.RandomAlphanumericString(5));
            containerType   = containerType ?? "Plate96";
            indexByWell     = indexByWell ? indexByWell : false;

            var libraryContainer = client.CreateLibraryContainer(new CreateLibraryContainerRequest(libraryPrepId, userContainerId, containerType, indexByWell));
            var response         = libraryContainer.Response;

            Assert.NotNull(response);
            Assert.Equal(response.UserContainerId, userContainerId);
            return(response);
        }
コード例 #2
0
        internal static LibraryContainer CreateLibraryContainer(IBaseSpaceClient client, string libraryPrepId=null, string userContainerId=null, string containerType=null, bool indexByWell=true)
        {
            libraryPrepId = libraryPrepId ?? "1";
            userContainerId = userContainerId ?? string.Format("container-sdk-{0}", StringHelpers.RandomAlphanumericString(5));
            containerType = containerType ?? "Plate96";
            indexByWell = indexByWell ? indexByWell : false;

            var libraryContainer = client.CreateLibraryContainer(new CreateLibraryContainerRequest(libraryPrepId, userContainerId, containerType, indexByWell));
            var response = libraryContainer.Response ;
            Assert.NotNull(response);
            Assert.Equal(response.UserContainerId, userContainerId);
            return response;
        }