Aqueduct.SitecoreLib.DataAccess.StructureMap.MapConventionScanner.Process C# (CSharp) Метод

Process() публичный Метод

public Process ( Type type, Registry registry ) : void
type System.Type
registry Registry
Результат void
        public void Process(Type type, Registry registry)
        {
            if (!type.IsConcrete()) return;

            var baseType = type.BaseType;
            if (baseType != null && baseType.IsGenericType && baseType.GetGenericTypeDefinition() == m_mapType)
            {
                registry.AddType(baseType, type);
            }
        }
MapConventionScanner