예제 #1
0
        public static FramePageProxy <T> ConstructFromNormalPage <F, T>(this IEntityButtonContainer <F> container, ConstructSymbol <T> .From <F> symbol)
            where T : Entity
            where F : Entity
        {
            container.OperationClick(symbol);

            container.Element.GetDriver().Wait(() => { try { return(container.EntityInfo().IsNew); } catch { return(false); } });

            return(new FramePageProxy <T>(container.Element.GetDriver()));
        }
예제 #2
0
 public static Lite <T> GetLite <T>(this IEntityButtonContainer <T> container) where T : Entity
 {
     return((Lite <T>)container.EntityInfo().ToLite());
 }