mirror of
https://github.com/bitwarden/android.git
synced 2025-01-08 17:27:39 +03:00
ba677a96aa
* 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
17 lines
363 B
C#
17 lines
363 B
C#
using System;
|
|
|
|
namespace Bit.Core.Utilities
|
|
{
|
|
public class LazyResolve<T> : Lazy<T> where T : class
|
|
{
|
|
public LazyResolve()
|
|
: base(() => ServiceContainer.Resolve<T>())
|
|
{
|
|
}
|
|
|
|
public LazyResolve(string containerKey)
|
|
: base(() => ServiceContainer.Resolve<T>(containerKey))
|
|
{
|
|
}
|
|
}
|
|
}
|