public bool Equals(PartialSelectedRange x, PartialSelectedRange y) { return(Nullable.Equals(x.StartLine, y.StartLine) && Nullable.Equals(x.StartColumn, y.StartColumn) && Nullable.Equals(x.EndLine, y.EndLine) && Nullable.Equals(x.EndColumn, y.EndColumn)); }
public async Task Custom(string customTestName) { CustomTest test; PartialSelectedRange?selection; test = Definition.Tests.CreateUrl.Misc.First((x) => x.Name == customTestName); if (test.Selection is not null) { selection = new PartialSelectedRange( test.Selection.StartLine, test.Selection.StartColumn, test.Selection.EndLine, test.Selection.EndColumn ); } else { selection = null; } await RunTestAsync( test.Remote, test.Settings, test.Result, new ReverseTestOptions { Branch = test.Branch, FileMayStartWithBranch = Definition.Reverse.FileMayStartWithBranch, FileName = test.FileName, Selection = selection, Type = test.LinkType } ); }
public UrlInfo(string filePath, StaticServer server, PartialSelectedRange selection) { FilePath = filePath; Server = server; Selection = selection; }
public int GetHashCode(PartialSelectedRange obj) { return(0); }