mirror of https://github.com/ogoun/Zero.git
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
567 B
20 lines
567 B
using System;
|
|
using System.Reflection;
|
|
using ZeroLevel.Contracts.Specification.Building;
|
|
using ZeroLevel.Specification;
|
|
|
|
namespace ZeroLevel.Services
|
|
{
|
|
public static class SpecificationReader
|
|
{
|
|
public static ISpecificationFinder GetAssemblySpecificationFinder(Assembly asm)
|
|
{
|
|
return new AssemblySpecificationFactory(asm);
|
|
}
|
|
|
|
public static ISpecificationConstructor GetSpecificationConstructor(Type specificationType)
|
|
{
|
|
return new SpecificationConstructor(specificationType);
|
|
}
|
|
}
|
|
} |