Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GetCreatedTimeImplementation to get the time of object creation
public class GetCreatedTimeImplementation : ITransientGetCreatedTime,
private readonly DateTime createdOn;
public GetCreatedTimeImplementation()
this.createdOn = DateTime.Now;
public DateTime GetCreatedTime()
return this.createdOn;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment