예제 #1
0
 private string[] BuildStorageCode()
 {
     return(StorageBuilders.Select(builder => builder.BuildCode())
            .Select(code => code.Trim())
            .Where(code => !string.IsNullOrEmpty(code))
            .ToArray());
 }
예제 #2
0
 private void InitStorages(IDictionary <TypePair, TypeMap> TypeMaps, Assembly assembly)
 {
     StorageBuilders.ForEach(b => b.InitStorage(assembly));
 }
예제 #3
0
 void RegisterStorageBuilders()
 {
     StorageBuilders.Add(new BeforeStorageBuilder(TypeMaps));
     StorageBuilders.Add(new ConditionStorageBuilder(TypeMaps));
 }