Esempio n. 1
0
 public IConsentFacade IsUsable(IObjectFacade objectFacade)
 {
     return(new ConsentFacade(WrappedSpec.IsUsable(((ObjectFacade)objectFacade).WrappedNakedObject)));
 }
 public IConsentFacade IsUsable(IObjectFacade objectFacade) => new ConsentFacade(WrappedSpec.IsUsable(((ObjectFacade)objectFacade)?.WrappedNakedObject));
        public IConsentFacade IsUsable(IObjectFacade target)
        {
            IConsent consent = WrappedSpec.IsUsable(((ObjectFacade)target).WrappedNakedObject);

            return(new ConsentFacade(consent));
        }