You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
561 B
20 lines
561 B
using System; |
|
using System.Collections.Generic; |
|
using System.Reflection; |
|
using System.Text; |
|
using System.Linq; |
|
namespace ReZero.DependencyInjection |
|
{ |
|
public class DependencyInjectionOptions |
|
{ |
|
public Assembly[]? Assemblies { get; set; } |
|
public bool InitDependencyInjection => Assemblies?.Any() == true; |
|
public DependencyInjectionOptions(params Assembly[] assemblies) |
|
{ |
|
if (this.InitDependencyInjection == false) |
|
{ |
|
this.Assemblies = assemblies; |
|
} |
|
} |
|
} |
|
}
|
|
|