Machine.Specifications.Explorers.AssemblyExplorer.CreateContextFrom C# (CSharp) Method

CreateContextFrom() private method

private CreateContextFrom ( Type type ) : Context
type System.Type
return Machine.Specifications.Model.Context
        Context CreateContextFrom(Type type)
        {
            object instance = Activator.CreateInstance(type);
            return _contextFactory.CreateContextFrom(instance);
        }

Same methods

AssemblyExplorer::CreateContextFrom ( Type type, FieldInfo fieldInfo ) : Context