You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
367 B
C#

1 year ago
using JetBrains.Annotations;
namespace DS.Module.Core.Modules;
public interface IObjectAccessor<TType>
{
TType Value { get; set; }
}
public class ObjectAccessor<TType> : IObjectAccessor<TType>
{
public ObjectAccessor([CanBeNull] TType obj)
{
Value = obj;
}
public ObjectAccessor()
{
}
public TType Value { get; set; }
}