Skip to content

Commit

Permalink
Finalizing major refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
DyegoMaas committed Jun 20, 2021
1 parent 558b232 commit 9a9196b
Show file tree
Hide file tree
Showing 48 changed files with 96 additions and 2,326 deletions.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions src/ForeverFactory/Builders/Common/BaseBuilder.cs

This file was deleted.

12 changes: 0 additions & 12 deletions src/ForeverFactory/Builders/Common/ISharedContext.cs

This file was deleted.

18 changes: 0 additions & 18 deletions src/ForeverFactory/Builders/Common/SharedContext.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using ForeverFactory.Builders;

namespace ForeverFactory
namespace ForeverFactory.Builders
{
public interface ICustomizableFactory<T> : IOneBuilder<T>
where T : class
Expand Down
16 changes: 0 additions & 16 deletions src/ForeverFactory/Builders/LinkedBaseBuilder.cs

This file was deleted.

87 changes: 0 additions & 87 deletions src/ForeverFactory/Builders/LinkedManyBuilder.cs

This file was deleted.

50 changes: 0 additions & 50 deletions src/ForeverFactory/Builders/LinkedOneBuilder.cs

This file was deleted.

51 changes: 0 additions & 51 deletions src/ForeverFactory/Builders/OneBuilder.cs

This file was deleted.

4 changes: 2 additions & 2 deletions src/ForeverFactory/Core/GeneratorNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public GeneratorNode(
public int TargetCount { get; }
public Func<T> CustomConstructor { get; set; }

public void AddTransform(Transform<T> transform, ApplyTransformGuardSpecification guard = null)
public void AddTransform(Transform<T> transform, CanApplyTransformSpecification guard = null)
{
guard = guard ?? new AlwaysApplyTransformGuardSpecification();
guard = guard ?? new AlwaysApplyTransformSpecification();
_transformsToApply.Add(new GuardedTransform<T>(transform, guard));
}

Expand Down
5 changes: 0 additions & 5 deletions src/ForeverFactory/Core/ObjectFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,5 @@ public GeneratorNode<T> GetCurrentGeneratorNode()
? _nodes.Last.Value
: null;
}

public bool HasNodes()
{
return GetCurrentGeneratorNode() != null;
}
}
}
Loading

0 comments on commit 9a9196b

Please sign in to comment.