SmallInjectorDemo/RegisteredType.cs
Holger Boerchers 7326ff6684 Initial commit
2018-08-12 13:23:44 +02:00

17 lines
390 B
C#

using System;
namespace Playground
{
public class RegisteredType
{
public RegisteredType(Type concreteType, bool isSingleton)
{
ConcreteType = concreteType;
IsSingleton = isSingleton;
}
public readonly bool IsSingleton;
public readonly Type ConcreteType;
public object SingletonInstance { get; set; }
}
}