Closed JasonBock closed 3 years ago
There are some APIs in Spackle that I'm going to remove. Specifically:
RandomObjectGenerator
RandomObjectGeneratorResult
EnumExtensions.GetName<T>
Enum
GetName()
ObjectExtensions.CheckParameterForNull()
is
is not
MethodBaseExtensions.GetParameterTypes()
There may be more, but the point is, things are going away.
There are some APIs in Spackle that I'm going to remove. Specifically:
RandomObjectGenerator
andRandomObjectGeneratorResult
. There are better libraries out there to create random data, such as Bogus.EnumExtensions.GetName<T>
. At some point, theEnum
type added a generic version forGetName()
, so this is no longer needed.ObjectExtensions.CheckParameterForNull()
. There's no reason for this, now that C# hasis
andis not
for null checks.MethodBaseExtensions.GetParameterTypes()
. Not sure what the purpose of this is.There may be more, but the point is, things are going away.