示例#1
0
        public virtual AcceptResult ReadyForProduction()
        {
            foreach (var module in ModuleRepository.Modules.OfType <IReadyForProduction>())
            {
                var result = module.IsReadyForProduction;
                if (!result.IsAccepted)
                {
                    return(result);
                }
            }

            return(AcceptResult.Accepted());
        }
示例#2
0
 public virtual Task <AcceptResult> AddItemAsync(PlatformItem item)
 {
     return(Task.FromResult(AcceptResult.Accepted()));
 }