This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [ | |
| { | |
| "id": "338f10b4.b5013", | |
| "type": "tab", | |
| "label": "Fishing", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "c551c71b.11cd28", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading; | |
| using System.Configuration; | |
| namespace Utiltiies | |
| { | |
| public class ExecutionBuilder | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public static class RepositoryTestingHelper | |
| { | |
| public static DbSet<T> GetQueryableMockDbSet<T>(List<T> sourceList) where T : class | |
| { | |
| var dbSet = GetMockDbSet(sourceList); | |
| return dbSet.Object; | |
| } | |
| public static Mock<DbSet<T>> GetMockDbSet<T>(List<T> entities) where T : class | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | private string RandomString | |
| { | |
| get | |
| { | |
| var path = String.Empty; // returns random string of 11 chars | |
| for (int i = 0; i < 9; i++) | |
| { | |
| path += Path.GetRandomFileName(); | |
| } | |
| return path.Replace(".", ""); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #pageTitle { | |
| margin-left: 50px; width: calc(100% - 50px); | |
| ... | |
| } | 
NewerOlder