<ProgramFilesX64>\Microsoft SDKs\Azure\.NET SDK\v2.9\bin\plugins\Diagnostics\Newtonsoft.Json.dll
Amazon.Lambda.S3Events
AWSSDK.Core
AWSSDK.S3
Amazon
Amazon.Auth.AccessControlPolicy
Amazon.Auth.AccessControlPolicy.ActionIdentifiers
Amazon.Internal
Amazon.Lambda.S3Events
Amazon.MissingTypes
Amazon.Runtime
Amazon.Runtime.CredentialManagement
Amazon.Runtime.CredentialManagement.Internal
Amazon.Runtime.EventStreams
Amazon.Runtime.EventStreams.Internal
Amazon.Runtime.Internal
Amazon.Runtime.Internal.Auth
Amazon.Runtime.Internal.Settings
Amazon.Runtime.Internal.Transform
Amazon.Runtime.Internal.Util
Amazon.Runtime.SharedInterfaces
Amazon.Runtime.SharedInterfaces.Internal
Amazon.S3
Amazon.S3.Encryption
Amazon.S3.Encryption.Internal
Amazon.S3.Internal
Amazon.S3.IO
Amazon.S3.Model
Amazon.S3.Model.Internal.MarshallTransformations
Amazon.S3.Transfer
Amazon.S3.Util
Amazon.Util
Amazon.Util.Internal
Amazon.Util.Internal.PlatformServices
Newtonsoft.Json
Newtonsoft.Json.Converters
Newtonsoft.Json.Linq
Newtonsoft.Json.Schema
Newtonsoft.Json.Serialization
System
System.Diagnostics
System.Diagnostics.Tracing
System.IO.Compression
ThirdParty.BouncyCastle.Asn1
ThirdParty.BouncyCastle.Asn1.Utilities
ThirdParty.BouncyCastle.Math
ThirdParty.BouncyCastle.OpenSsl
ThirdParty.BouncyCastle.Utilities.IO.Pem
ThirdParty.Ionic.Zlib
ThirdParty.Json.LitJson
ThirdParty.MD5
void Main()
{
var testset = new string[] { "3", "167", "168", "172", "4", "5", "6" };
var IncludeSolution = "";
var ExcludeSolution = "";
foreach (var check in checkInclude(IncludeSolution, testset))
{
Console.WriteLine($"{check.Item1} is {check.Item2}");
}
Console.WriteLine("\r\nExclude \"\"");
foreach (var check in checkExclude(ExcludeSolution, testset))
{
Console.WriteLine($"{check.Item1} is {check.Item2}");
}
Console.WriteLine("\r\nInclude \"^3$\"");
IncludeSolution = "^3$";
foreach (var check in checkInclude(IncludeSolution, testset))
{
Console.WriteLine($"{check.Item1} is {check.Item2}");
}
ExcludeSolution = "^167$|^168$";
Console.WriteLine("\r\nExclude \"^167$|^168$\"");
foreach (var check in checkExclude(ExcludeSolution, testset))
{
Console.WriteLine($"{check.Item1} is {check.Item2}");
}
}
public IEnumerable> checkInclude(string pattern, string[] testset)
{
var regex = string.IsNullOrEmpty(pattern) ? new Regex("^.+$") : new Regex(pattern);
return testset.ToList().ConvertAll(t => new Tuple(t, regex.IsMatch(t)));
}
public IEnumerable> checkExclude(string pattern, string[] testset)
{
var regex = string.IsNullOrEmpty(pattern) ? new Regex("^$") : new Regex(pattern);
return testset.ToList().ConvertAll(t => new Tuple(t, regex.IsMatch(t)));
}
// Define other methods and classes here