1
+ //HintName: Splat.DI.g.cs
2
+
3
+ // <auto-generated />
4
+ namespace Splat
5
+ {
6
+ /// <summary>
7
+ /// Extension methods for the Splat DI source generator.
8
+ /// </summary>
9
+ internal static partial class SplatRegistrations
10
+ {
11
+ /// <summary>
12
+ /// Registers a class with its concrete class.
13
+ /// </summary>
14
+ public static void Register < TInterface , TConcrete > ( )
15
+ {
16
+ }
17
+
18
+ /// <summary>
19
+ /// Registers a class with its concrete class.
20
+ /// </summary>
21
+ /// <param name="contract">Optional contract.</param>
22
+ public static void Register < TInterface , TConcrete > ( string contract )
23
+ {
24
+ }
25
+
26
+ /// <summary>
27
+ /// Registers a class with its concrete class.
28
+ /// </summary>
29
+ public static void RegisterLazySingleton < TInterface , TConcrete > ( )
30
+ {
31
+ }
32
+
33
+ /// <summary>
34
+ /// Registers a class with its concrete class.
35
+ /// </summary>
36
+ /// <param name="mode">The threading mode.</param>
37
+ public static void RegisterLazySingleton < TInterface , TConcrete > ( System . Threading . LazyThreadSafetyMode mode )
38
+ {
39
+ }
40
+
41
+ /// <summary>
42
+ /// Registers a class with its concrete class.
43
+ /// </summary>
44
+ /// <param name="contract">Optional contract.</param>
45
+ public static void RegisterLazySingleton < TInterface , TConcrete > ( string contract )
46
+ {
47
+ }
48
+
49
+ /// <summary>
50
+ /// Registers a class with its concrete class.
51
+ /// </summary>
52
+ /// <param name="contract">Optional contract.</param>
53
+ /// <param name="mode">The threading mode.</param>
54
+ public static void RegisterLazySingleton < TInterface , TConcrete > ( string contract , System . Threading . LazyThreadSafetyMode mode )
55
+ {
56
+ }
57
+
58
+ /// <summary>
59
+ /// Registers a class with its concrete class.
60
+ /// </summary>
61
+ public static void Register < T > ( )
62
+ {
63
+ }
64
+
65
+
66
+ /// <summary>
67
+ /// Registers a class with its concrete class.
68
+ /// </summary>
69
+ /// <param name="contract">Optional contract.</param>
70
+ public static void Register < T > ( string contract )
71
+ {
72
+ }
73
+
74
+ /// <summary>
75
+ /// Registers a lazy class with its concrete class.
76
+ /// </summary>
77
+ public static void RegisterLazySingleton < T > ( )
78
+ {
79
+ }
80
+
81
+
82
+ /// <summary>
83
+ /// Registers a lazy class with its concrete class.
84
+ /// </summary>
85
+ /// <param name="contract">Optional contract.</param>
86
+ public static void RegisterLazySingleton < T > ( string contract )
87
+ {
88
+ }
89
+
90
+ /// <summary>
91
+ /// Proxy for the Splat SetService.
92
+ /// </summary>
93
+ public static void RegisterConstant < T > ( T instance ) => Splat . Locator . CurrentMutable . RegisterConstant < T > ( instance ) ;
94
+
95
+ /// <summary>
96
+ /// Proxy for the Splat SetService.
97
+ /// </summary>
98
+ /// <param name="contract">Optional contract.</param>
99
+ public static void RegisterConstant < T > ( T instance , string contract ) => Splat . Locator . CurrentMutable . RegisterConstant < T > ( instance , contract ) ;
100
+
101
+ /// <summary>
102
+ /// Registers the registrations.
103
+ /// </summary>
104
+ public static void SetupIOC ( )
105
+ {
106
+ SetupIOCInternal ( Splat . Locator . GetLocator ( ) ) ;
107
+ }
108
+
109
+ /// <summary>
110
+ /// Registers the registrations.
111
+ /// </summary>
112
+ /// <param name="resolver">The resolver to register with.</param>
113
+ public static void SetupIOC ( Splat . IDependencyResolver resolver )
114
+ {
115
+ SetupIOCInternal ( resolver ) ;
116
+ }
117
+
118
+
119
+ static partial void SetupIOCInternal ( Splat . IDependencyResolver resolver ) ;
120
+ }
121
+
122
+ /// <summary>
123
+ /// Makes the property get added by the DI engine.
124
+ /// </summary>
125
+ [ System . AttributeUsage ( System . AttributeTargets . Property ) ]
126
+ internal class DependencyInjectionPropertyAttribute : System . Attribute
127
+ {
128
+ /// <summary>
129
+ /// Initializes a new instance of the <see cref="DependencyInjectionPropertyAttribute"/> class.
130
+ /// </summary>
131
+ public DependencyInjectionPropertyAttribute ( )
132
+ {
133
+ }
134
+ }
135
+
136
+ /// <summary>
137
+ /// Makes this the constructor used by the DI engine.
138
+ /// </summary>
139
+ [ System . AttributeUsage ( System . AttributeTargets . Constructor ) ]
140
+ internal class DependencyInjectionConstructorAttribute : System . Attribute
141
+ {
142
+ /// <summary>
143
+ /// Initializes a new instance of the <see cref="DependencyInjectionConstructorAttribute"/> class.
144
+ /// </summary>
145
+ public DependencyInjectionConstructorAttribute ( )
146
+ {
147
+ }
148
+ }
149
+ }
0 commit comments