示例#1
0
        internal Deck(ITrackerFactory tracker)
        {
            DeckId = tracker.GetNewGuid(); //if deserialise, will be overriten!, if new generate!
            DateTime createdDateTime = tracker.GetDateTimeNow();

            CreatedDate         = createdDateTime;
            this.trackerFactory = tracker;
        }
示例#2
0
 public DeckVersion(ITrackerFactory trackerFactory)
 {
     this.trackerFactory = trackerFactory;
     VersionId           = trackerFactory.GetNewGuid();
 }