public ElementLinkPair <CT> CreateWithVerify <CT>(Func <ProjectRootElement, CT> creator) where CT : ProjectElement { var view = creator(this.View); Assert.NotNull(view); var real = creator(this.Real); Assert.NotNull(real); ViewValidation.VerifyFindType(view, real); return(new ElementLinkPair <CT>(this, view, real)); }
public virtual void Verify() { ViewValidation.VerifyFindType(this.View, this.Real); }