public void TestConvertFileFilterToString() { IFileFilter fileFilter = FileFilter.Create("Test", "*.cs"); string filterStr1 = FileFilterHelper.ConvertFileFilterToString(fileFilter); string filterStr2 = filterStr1.ToString(); Assert.AreEqual("Test|*.cs", filterStr1); Assert.AreEqual("Test|*.cs", filterStr2); }
public override string ToString() { return(FileFilterHelper.ConvertFileFilterToString(this)); }