FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SourceGrid/SourceGrid.Examples/ServiceIntialization.cs at master · Azerothian/SourceGrid · GitHub
Azerothian
/
SourceGrid
Public
Notifications
You must be signed in to change notification settings
Fork
14
Star
18
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
SourceGrid
/
SourceGrid.Examples
/
ServiceIntialization.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (24 loc) · 643 Bytes
Breadcrumbs
SourceGrid
/
SourceGrid.Examples
/
ServiceIntialization.cs
Copy path
File metadata and controls
29 lines (24 loc) · 643 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using
System
;
using
Castle
.
Windsor
;
using
WindowsFormsSample
.
GridSamples
.
PingGrids
;
namespace
WindowsFormsSample
{
public
class
ServiceIntialization
{
private
static
WindsorContainer
m_container
=
null
;
private
static
void
AddService
<
T
>
(
)
{
m_container
.
AddComponent
<
T
>
(
)
;
}
public
static
void
Iinit
(
WindsorContainer
container
)
{
m_container
=
container
;
ServiceFactory
.
Container
=
container
;
AddService
<
FirebirdEmbeddedPreparer
>
(
)
;
AddService
<
EmptyFirebirdDatabasePreparer
>
(
)
;
AddService
<
SessionFactoryManager
>
(
)
;
AddService
<
SessionManager
>
(
)
;
AddService
<
TransactionManager
>
(
)
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL