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

FindContexts() public method

public FindContexts ( FieldInfo info ) : Context
info System.Reflection.FieldInfo
return Machine.Specifications.Model.Context
        public Context FindContexts(FieldInfo info)
        {
            Type type = info.DeclaringType;
            if (IsContext(type))
            {
                return CreateContextFrom(type, info);
            }

            return null;
        }
    }

Same methods

AssemblyExplorer::FindContexts ( Type type ) : Context