Skip to content

Commit

Permalink
Removes add transient API (from value overload)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavopsantos committed Aug 28, 2024
1 parent 2a097c5 commit e33bb02
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 104 deletions.
46 changes: 0 additions & 46 deletions Assets/Reflex.EditModeTests/TransientValueResolverTests.cs

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions Assets/Reflex/Core/ContainerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,6 @@ public ContainerBuilder AddTransient(Type concrete)
return AddTransient(concrete, concrete);
}

public ContainerBuilder AddTransient(object instance, params Type[] contracts)
{
return Add(instance.GetType(), contracts, new TransientValueResolver(instance));
}

public ContainerBuilder AddTransient(object instance)
{
return AddTransient(instance, instance.GetType());
}

public ContainerBuilder AddTransient<T>(Func<Container, T> factory, params Type[] contracts)
{
var resolver = new TransientFactoryResolver(Proxy);
Expand Down
42 changes: 0 additions & 42 deletions Assets/Reflex/Resolvers/TransientValueResolver.cs

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/Reflex/Resolvers/TransientValueResolver.cs.meta

This file was deleted.

0 comments on commit e33bb02

Please sign in to comment.