示例#1
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
                                                     ref MethodSymbol methodSymbol, Dictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                                                     Dictionary <string, List <MethodDeclarationSyntax> > specificationGetMethods,
                                                     List <TypeSymbol> argumentTypes = null)
 {
     return(false);
 }
示例#2
0
 public GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
     MethodSymbol methodSymbol, string serverFxDALInterfacesNamespace,
     ConcurrentDictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     ConcurrentDictionary<string, MethodDeclarationSyntax> methodPerMethodSymbols,
     Dictionary<string, List<MethodDeclarationSyntax>> getMethods, List<MethodDeclarationSyntax> extensionMethods)
     : this(semanticModel, specificationsElements, serverFxDALInterfacesNamespace, semanticModelPerMethods,
         methodPerMethodSymbols, getMethods, extensionMethods,
         new Dictionary<string, PropertyDependence>(), new Dictionary<string, int>(), 0,
         new List<MethodSymbol>() { methodSymbol }, true)
 {
     _fromOriginalMethod = true;
 }
示例#3
0
 public GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
                          MethodSymbol methodSymbol, string serverFxDALInterfacesNamespace,
                          ConcurrentDictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                          ConcurrentDictionary <string, MethodDeclarationSyntax> methodPerMethodSymbols,
                          Dictionary <string, List <MethodDeclarationSyntax> > getMethods, List <MethodDeclarationSyntax> extensionMethods)
     : this(
         semanticModel, specificationsElements, serverFxDALInterfacesNamespace, semanticModelPerMethods,
         methodPerMethodSymbols, getMethods, extensionMethods,
         new Dictionary <string, PropertyDependence>(), new Dictionary <string, int>(), 0,
         new List <MethodSymbol>() { methodSymbol }, true)
 {
     _fromOriginalMethod = true;
 }
示例#4
0
 private GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
                           string serverFxDALInterfacesNamespace,
                           ConcurrentDictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                           ConcurrentDictionary <string, MethodDeclarationSyntax> methodPerMethodSymbols,
                           Dictionary <string, List <MethodDeclarationSyntax> > getMethods, List <MethodDeclarationSyntax> extensionMethods,
                           Dictionary <string, PropertyDependence> variables, Dictionary <string, int> fromVariables,
                           int linqIndex, List <MethodSymbol> alreadyCalledMethods, bool definePropertyDependences, int failed = 0)
 {
     _semanticModel                  = semanticModel;
     _specificationsElements         = specificationsElements;
     _serverFxDALInterfacesNamespace = serverFxDALInterfacesNamespace;
     _semanticModelPerMethods        = semanticModelPerMethods;
     _methodPerMethodSymbols         = methodPerMethodSymbols;
     _getMethods                = getMethods;
     _extensionMethods          = extensionMethods;
     _variables                 = variables;
     _fromVariables             = fromVariables;
     _linqIndex                 = linqIndex;
     _alreadyCalledMethods      = alreadyCalledMethods;
     _properties                = new PropertyDependence();
     _definePropertyDependences = definePropertyDependences;
     _failed = failed;
 }
示例#5
0
文件: Mocks.cs 项目: bnjMichel/waqs
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
     ref MethodSymbol methodSymbol, Dictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     IEnumerable<MethodDeclarationSyntax> candidatesMethods, string defaultClassName = null)
 {
     return false;
 }
示例#6
0
文件: Mocks.cs 项目: bnjMichel/waqs
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
     ref MethodSymbol methodSymbol, Dictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     Func<IEnumerable<MethodDeclarationSyntax>> getMethods)
 {
     return false;
 }
示例#7
0
文件: Mocks.cs 项目: bnjMichel/waqs
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
     ref MethodSymbol methodSymbol, Dictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     Dictionary<string, List<MethodDeclarationSyntax>> specificationGetMethods,
     List<TypeSymbol> argumentTypes = null)
 {
     return false;
 }
示例#8
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
                                                     ref MethodSymbol methodSymbol, Dictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                                                     IEnumerable <MethodDeclarationSyntax> candidatesMethods, string defaultClassName = null)
 {
     return(false);
 }
示例#9
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
                                                     ref MethodSymbol methodSymbol, Dictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                                                     Func <IEnumerable <MethodDeclarationSyntax> > getMethods)
 {
     return(false);
 }
示例#10
0
 private GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
     string serverFxDALInterfacesNamespace,
     ConcurrentDictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     ConcurrentDictionary<string, MethodDeclarationSyntax> methodPerMethodSymbols,
     Dictionary<string, List<MethodDeclarationSyntax>> getMethods, List<MethodDeclarationSyntax> extensionMethods,
     Dictionary<string, PropertyDependence> variables, Dictionary<string, int> fromVariables,
     int linqIndex, List<MethodSymbol> alreadyCalledMethods, bool definePropertyDependences, int failed = 0)
 {
     _semanticModel = semanticModel;
     _specificationsElements = specificationsElements;
     _serverFxDALInterfacesNamespace = serverFxDALInterfacesNamespace;
     _semanticModelPerMethods = semanticModelPerMethods;
     _methodPerMethodSymbols = methodPerMethodSymbols;
     _getMethods = getMethods;
     _extensionMethods = extensionMethods;
     _variables = variables;
     _fromVariables = fromVariables;
     _linqIndex = linqIndex;
     _alreadyCalledMethods = alreadyCalledMethods;
     _properties = new PropertyDependence();
     _definePropertyDependences = definePropertyDependences;
     _failed = failed;
 }