17 lines
390 B
C#
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; }
|
|
}
|
|
} |