예제 #1
0
 public EventInfo(int id, Uri url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt)
 {
     Id        = id;
     Url       = url;
     Actor     = actor;
     Assignee  = assignee;
     Label     = label;
     Event     = @event;
     CommitId  = commitId;
     CreatedAt = createdAt;
 }
예제 #2
0
 public EventInfo(int id, Uri url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt)
 {
     Id = id;
     Url = url;
     Actor = actor;
     Assignee = assignee;
     Label = label;
     Event = @event;
     CommitId = commitId;
     CreatedAt = createdAt;
 }
예제 #3
0
 public IssueEvent(int id, Uri url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, Issue issue, Uri commitUrl)
 {
     Id        = id;
     Url       = url;
     Actor     = actor;
     Assignee  = assignee;
     Label     = label;
     Event     = @event;
     CommitId  = commitId;
     CreatedAt = createdAt;
     Issue     = issue;
     CommitUrl = commitUrl;
 }
예제 #4
0
 public IssueEvent(int id, Uri url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, Issue issue, Uri commitUrl)
 {
     Id = id;
     Url = url;
     Actor = actor;
     Assignee = assignee;
     Label = label;
     Event = @event;
     CommitId = commitId;
     CreatedAt = createdAt;
     Issue = issue;
     CommitUrl = commitUrl;
 }
예제 #5
0
 public TimelineEventInfo(int id, string url, User actor, string commitId, EventInfoState @event, DateTimeOffset createdAt, Label label, User assignee, Milestone milestone, SourceInfo source, RenameInfo rename)
 {
     Id        = id;
     Url       = url;
     Actor     = actor;
     CommitId  = commitId;
     Event     = @event;
     CreatedAt = createdAt;
     Label     = label;
     Assignee  = assignee;
     Milestone = milestone;
     Source    = source;
     Rename    = rename;
 }
예제 #6
0
 public TimelineEventInfo(int id, string url, User actor, string commitId, EventInfoState @event, DateTimeOffset createdAt, Label label, User assignee, Milestone milestone, SourceInfo source, RenameInfo rename)
 {
     Id = id;
     Url = url;
     Actor = actor;
     CommitId = commitId;
     Event = @event;
     CreatedAt = createdAt;
     Label = label;
     Assignee = assignee;
     Milestone = milestone;
     Source = source;
     Rename = rename;
 }
예제 #7
0
 public EventInfo(long id, string nodeId, string url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, User requestedReviewer, Team requestedTeam)
 {
     Id                = id;
     NodeId            = nodeId;
     Url               = url;
     Actor             = actor;
     Assignee          = assignee;
     Label             = label;
     Event             = @event;
     CommitId          = commitId;
     CreatedAt         = createdAt;
     RequestedReviewer = requestedReviewer;
     RequestedTeam     = requestedTeam;
 }
 public TimelineEventInfo(long id, string nodeId, string url, User actor, string commitId, EventInfoState @event, DateTimeOffset createdAt, Label label, User assignee, Milestone milestone, SourceInfo source, RenameInfo rename, IssueEventProjectCard projectCard)
 {
     Id          = id;
     NodeId      = nodeId;
     Url         = url;
     Actor       = actor;
     CommitId    = commitId;
     Event       = @event;
     CreatedAt   = createdAt;
     Label       = label;
     Assignee    = assignee;
     Milestone   = milestone;
     Source      = source;
     Rename      = rename;
     ProjectCard = projectCard;
 }
예제 #9
0
 public IssueEvent(long id, string nodeId, string url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, Issue issue, string commitUrl, RenameInfo rename, IssueEventProjectCard projectCard)
 {
     Id          = id;
     NodeId      = nodeId;
     Url         = url;
     Actor       = actor;
     Assignee    = assignee;
     Label       = label;
     Event       = @event;
     CommitId    = commitId;
     CreatedAt   = createdAt;
     Issue       = issue;
     CommitUrl   = commitUrl;
     Rename      = rename;
     ProjectCard = projectCard;
 }
예제 #10
0
 public static IssueEvent CreateIssueEvent(EventInfoState @event, int actorId)
 => new IssueEvent(
     id: 1234, nodeId: string.Empty, url: string.Empty, actor: CreateUser(actorId),
     assignee: null, label: null, @event: @event,
     commitId: null, createdAt: DateTimeOffset.UtcNow, issue: null, commitUrl: null, rename: null, projectCard: null);