{vargenerator =newRandomObjectGenerator();varoptionPosition = generator.Generate<short>();varoptionText = generator.Generate<string>();varpollId = generator.Generate<int>();varpollOptionId = generator.Generate<int>();varpoll =newMock<IPoll>(); poll.Setup(_=>_.PollID).Returns(pollId);varp...
leinad31 PowerPoster Join Date Nov 2002 Location Manila Posts 7,629 Re: Random string Originally Posted by Chris001 I'm using GUID to create a 32 character string and I'm using the Unix Timestamp (number of seconds since 1970) as Unique Domain-ID. When the user starts the applicatio...
{vargenerator =newRandomObjectGenerator();varcategory = generator.Generate<string>();varid = generator.Generate<int>();varimageLink = generator.Generate<string>();varquestion = generator.Generate<string>();varsubmissionCount = generator.Generate<int>();varpollSearchResult =newMock<IPollSearchResult...