コード例 #1
0
 public VersaoDocumentoController()
 {
     this.versaoDocumentoRepositorio = InversionControl.Current.Resolve <IVersaoDocumentoRepositorio>();
     this.versaoDocumentoServico     = InversionControl.Current.Resolve <VersaoDocumentoServico>();
     this.storageServico             = InversionControl.Current.Resolve <StorageServico>();
     this.sessaoDoUsuario            = InversionControl.Current.Resolve <ISessaoDoUsuario>();
 }
コード例 #2
0
 public AccountController()
 {
     this.usuarioRepositorio = InversionControl.Current.Resolve <UsuarioRepositorio>();
     this.acessoFuncionalidadeRepositorio = InversionControl.Current.Resolve <IAcessoFuncionalidadeRepositorio>();
     this.hashString       = InversionControl.Current.Resolve <HashString>();
     this.logarAcaoSistema = InversionControl.Current.Resolve <LogarAcaoDoSistema>();
     this.storageServico   = InversionControl.Current.Resolve <StorageServico>();
 }
コード例 #3
0
 public ArquivosController()
 {
     this.sessaoDoUsuario            = InversionControl.Current.Resolve <ISessaoDoUsuario>();
     this.salvarConteudoServico      = InversionControl.Current.Resolve <SalvarConteudoServico>();
     this.versaoDocumentoRepositorio = InversionControl.Current.Resolve <IVersaoDocumentoRepositorio>();
     this.documentoRepositorio       = InversionControl.Current.Resolve <IDocumentoRepositorio>();
     this.storageServico             = InversionControl.Current.Resolve <StorageServico>();
     this.mongoStorage          = InversionControl.Current.Resolve <IMongoStorage>();
     this.openOfficeTransformer = InversionControl.Current.Resolve <OpenOfficeTransformer>();
     this.logarAcaoSistema      = InversionControl.Current.Resolve <LogarAcaoDoSistema>();
 }