mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 02:23:57 +00:00
[EC-519] Refactor Split DeviceActionService (#2081)
* EC-519 Refactored IDeviceActionService to be split into IFileService and IAutofillManager also some cleanups were made * EC-519 Fix format * EC-519 Fix merge to use the new AutofillHandler
This commit is contained in:
committed by
GitHub
parent
d800e9a43e
commit
ba677a96aa
@@ -2,8 +2,13 @@
|
||||
|
||||
namespace Bit.Core.Utilities
|
||||
{
|
||||
public class LazyResolve<T> : Lazy<T>
|
||||
public class LazyResolve<T> : Lazy<T> where T : class
|
||||
{
|
||||
public LazyResolve()
|
||||
: base(() => ServiceContainer.Resolve<T>())
|
||||
{
|
||||
}
|
||||
|
||||
public LazyResolve(string containerKey)
|
||||
: base(() => ServiceContainer.Resolve<T>(containerKey))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user