Exemple #1
0
 public MemberFieldProfile(FieldInfo fieldInfo)
 {
     MemberInfo = fieldInfo;
     Value      = new ValueConnector(fieldInfo);
     Collection = new CollectionConnector(fieldInfo);
     Dictionary = new DictionaryConnector(fieldInfo);
 }
Exemple #2
0
            public MemberPropertyProfile(PropertyInfo propertyInfo)
            {
                MemberInfo = propertyInfo;
                Value      = new ValueConnector(propertyInfo);
                Collection = new CollectionConnector(propertyInfo);
                Dictionary = new DictionaryConnector(propertyInfo);

                Setup();
            }
Exemple #3
0
 private void FilterWord(TrieNode root, string str, int minLength, string inputString, string mandatoryInput)
 {
     if (root.leaf == true && str.Length >= minLength)
     {
         var isEqual = LetterOccuranceChecker(inputString, str);
         if (isEqual && str.Contains(mandatoryInput))
         {
             var    connector  = new DictionaryConnector();
             string definition = connector.SearchDefinition(str);
             Console.WriteLine(str + " : " + definition);
         }
     }
 }