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