public ITypeSpecBuilder LoadSpecification(Type type) { if (type == null) { throw new NakedObjectSystemException("cannot load specification for null"); } return((ITypeSpecBuilder)metamodel.GetSpecification(type, true) ?? LoadSpecificationAndCache(type)); }
public ITypeSpecBuilder LoadSpecification(Type type) { Assert.AssertNotNull(type); return((ITypeSpecBuilder)metamodel.GetSpecification(type, true) ?? LoadSpecificationAndCache(type)); }
public virtual IObjectSpecBuilder LoadSpecification(Type type) { Assert.AssertNotNull(type); return((IObjectSpecBuilder)metamodel.GetSpecification(type) ?? LoadSpecificationAndCache(type)); }