示例#1
0
        public void AddEndpointToUseCase(IAbstractEndpoint endpoint, IApplication application, IServiceProvider sp)
        {
            var command = new Commands.AddReferenceToUseCaseCommand {
                CurrentElement = endpoint.As <IProductElement>()
            };

            command.Execute();
        }
示例#2
0
 public void AddEndpointToUseCase(IAbstractEndpoint endpoint, IApplication application, IServiceProvider sp)
 {
     var command = new Commands.AddReferenceToUseCaseCommand { CurrentElement = endpoint.As<IProductElement>()};
     command.Execute();
 }