public void ValidateConstructT() { string fileName = Path.GetTempFileName(); fileName = fileName.Replace(Path.GetTempPath(), ""); string fileName1 = Path.GetTempFileName(); fileName1 = fileName1.Replace(Path.GetTempPath(), ""); using (File.Create(fileName)) { } using (File.Create(fileName1)) { } string args = "(ResultFile:(" + fileName + "),(" + fileName1 + "))"; AggregateNumbers aggregateNums = ConstructorArguments.Construct <AggregateNumbers>(args); Assert.IsNotNull(aggregateNums); }
public static LinearTransform Parse(string val) { LinearTransform linearTransform = ConstructorArguments.Construct <LinearTransform>(val); return(linearTransform); }