public static string CreateRandomCookieName(Random rndGen, CreatorSettings creatorSettings)
 {
     return(PrimitiveCreator.CreateRandomString(rndGen, -1, Token, new CreatorSettings(creatorSettings)
     {
         MinStringLength = 1
     }));
 }
Example #2
0
 protected override string GenerateInternal()
 {
     return(PrimitiveCreator.CreateRandomString(
                this.Random,
                -1,
                this.CharToUse,
                new CreatorSettings(this.Settings)
     {
         MinStringLength = this.MinSize,
         MaxStringLength = this.MaxSize
     }));
 }
 public static string CreateRandomCookieValue(Random rndGen, CreatorSettings creatorSettings)
 {
     return(PrimitiveCreator.CreateRandomString(rndGen, -1, CookieOctet, creatorSettings));
 }
 public static string CreateRandomPath(Random rndGen, CreatorSettings creatorSettings)
 {
     return(PrimitiveCreator.CreateRandomString(rndGen, -1, PathValue, creatorSettings));
 }