-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Build, Update packages * Update version due to updated Dependencies
- Loading branch information
1 parent
83b239a
commit 3007f30
Showing
263 changed files
with
18,455 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...erator.Tests/RegisterLazySingletonTests.CircularDependencyFail#Splat.DI.Reg.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//HintName: Splat.DI.Reg.g.cs | ||
|
||
// <auto-generated /> | ||
namespace Splat | ||
{ | ||
internal static partial class SplatRegistrations | ||
{ | ||
static partial void SetupIOCInternal(Splat.IDependencyResolver resolver) | ||
{ | ||
} | ||
} | ||
} |
149 changes: 149 additions & 0 deletions
149
...eGenerator.Tests/RegisterLazySingletonTests.CircularDependencyFail#Splat.DI.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
//HintName: Splat.DI.g.cs | ||
|
||
// <auto-generated /> | ||
namespace Splat | ||
{ | ||
/// <summary> | ||
/// Extension methods for the Splat DI source generator. | ||
/// </summary> | ||
internal static partial class SplatRegistrations | ||
{ | ||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
public static void Register<TInterface, TConcrete>() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void Register<TInterface, TConcrete>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="mode">The threading mode.</param> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>(System.Threading.LazyThreadSafetyMode mode) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
/// <param name="mode">The threading mode.</param> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>(string contract, System.Threading.LazyThreadSafetyMode mode) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
public static void Register<T>() | ||
{ | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void Register<T>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a lazy class with its concrete class. | ||
/// </summary> | ||
public static void RegisterLazySingleton<T>() | ||
{ | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Registers a lazy class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void RegisterLazySingleton<T>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Proxy for the Splat SetService. | ||
/// </summary> | ||
public static void RegisterConstant<T>(T instance) => Splat.Locator.CurrentMutable.RegisterConstant<T>(instance); | ||
|
||
/// <summary> | ||
/// Proxy for the Splat SetService. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void RegisterConstant<T>(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant<T>(instance, contract); | ||
|
||
/// <summary> | ||
/// Registers the registrations. | ||
/// </summary> | ||
public static void SetupIOC() | ||
{ | ||
SetupIOCInternal(Splat.Locator.GetLocator()); | ||
} | ||
|
||
/// <summary> | ||
/// Registers the registrations. | ||
/// </summary> | ||
/// <param name="resolver">The resolver to register with.</param> | ||
public static void SetupIOC(Splat.IDependencyResolver resolver) | ||
{ | ||
SetupIOCInternal(resolver); | ||
} | ||
|
||
|
||
static partial void SetupIOCInternal(Splat.IDependencyResolver resolver); | ||
} | ||
|
||
/// <summary> | ||
/// Makes the property get added by the DI engine. | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Property)] | ||
internal class DependencyInjectionPropertyAttribute : System.Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DependencyInjectionPropertyAttribute"/> class. | ||
/// </summary> | ||
public DependencyInjectionPropertyAttribute() | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Makes this the constructor used by the DI engine. | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Constructor)] | ||
internal class DependencyInjectionConstructorAttribute : System.Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DependencyInjectionConstructorAttribute"/> class. | ||
/// </summary> | ||
public DependencyInjectionConstructorAttribute() | ||
{ | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...tion.SourceGenerator.Tests/RegisterLazySingletonTests.CircularDependencyFail.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Id: SPLATDI005, | ||
Title: Constructors must not have a circular dependency, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: Unknown File: (26,36)-(26,44), | ||
Description: , | ||
HelpLink: , | ||
MessageFormat: Constructor parameters must not have a circular dependency to another registered resource, | ||
Message: Constructor parameters must not have a circular dependency to another registered resource, | ||
Category: Compiler | ||
}, | ||
{ | ||
Id: SPLATDI005, | ||
Title: Constructors must not have a circular dependency, | ||
Severity: Error, | ||
WarningLevel: 0, | ||
Location: Unknown File: (18,36)-(18,44), | ||
Description: , | ||
HelpLink: , | ||
MessageFormat: Constructor parameters must not have a circular dependency to another registered resource, | ||
Message: Constructor parameters must not have a circular dependency to another registered resource, | ||
Category: Compiler | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
....Tests/RegisterLazySingletonTests.CircularDependencyFail_Test1#Splat.DI.Reg.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//HintName: Splat.DI.Reg.g.cs | ||
|
||
// <auto-generated /> | ||
namespace Splat | ||
{ | ||
internal static partial class SplatRegistrations | ||
{ | ||
static partial void SetupIOCInternal(Splat.IDependencyResolver resolver) | ||
{ | ||
} | ||
} | ||
} |
149 changes: 149 additions & 0 deletions
149
...ator.Tests/RegisterLazySingletonTests.CircularDependencyFail_Test1#Splat.DI.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
//HintName: Splat.DI.g.cs | ||
|
||
// <auto-generated /> | ||
namespace Splat | ||
{ | ||
/// <summary> | ||
/// Extension methods for the Splat DI source generator. | ||
/// </summary> | ||
internal static partial class SplatRegistrations | ||
{ | ||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
public static void Register<TInterface, TConcrete>() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void Register<TInterface, TConcrete>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="mode">The threading mode.</param> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>(System.Threading.LazyThreadSafetyMode mode) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
/// <param name="mode">The threading mode.</param> | ||
public static void RegisterLazySingleton<TInterface, TConcrete>(string contract, System.Threading.LazyThreadSafetyMode mode) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
public static void Register<T>() | ||
{ | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Registers a class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void Register<T>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Registers a lazy class with its concrete class. | ||
/// </summary> | ||
public static void RegisterLazySingleton<T>() | ||
{ | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Registers a lazy class with its concrete class. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void RegisterLazySingleton<T>(string contract) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Proxy for the Splat SetService. | ||
/// </summary> | ||
public static void RegisterConstant<T>(T instance) => Splat.Locator.CurrentMutable.RegisterConstant<T>(instance); | ||
|
||
/// <summary> | ||
/// Proxy for the Splat SetService. | ||
/// </summary> | ||
/// <param name="contract">Optional contract.</param> | ||
public static void RegisterConstant<T>(T instance, string contract) => Splat.Locator.CurrentMutable.RegisterConstant<T>(instance, contract); | ||
|
||
/// <summary> | ||
/// Registers the registrations. | ||
/// </summary> | ||
public static void SetupIOC() | ||
{ | ||
SetupIOCInternal(Splat.Locator.GetLocator()); | ||
} | ||
|
||
/// <summary> | ||
/// Registers the registrations. | ||
/// </summary> | ||
/// <param name="resolver">The resolver to register with.</param> | ||
public static void SetupIOC(Splat.IDependencyResolver resolver) | ||
{ | ||
SetupIOCInternal(resolver); | ||
} | ||
|
||
|
||
static partial void SetupIOCInternal(Splat.IDependencyResolver resolver); | ||
} | ||
|
||
/// <summary> | ||
/// Makes the property get added by the DI engine. | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Property)] | ||
internal class DependencyInjectionPropertyAttribute : System.Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DependencyInjectionPropertyAttribute"/> class. | ||
/// </summary> | ||
public DependencyInjectionPropertyAttribute() | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Makes this the constructor used by the DI engine. | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Constructor)] | ||
internal class DependencyInjectionConstructorAttribute : System.Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DependencyInjectionConstructorAttribute"/> class. | ||
/// </summary> | ||
public DependencyInjectionConstructorAttribute() | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.