コード例 #1
0
ファイル: EventInfo.cs プロジェクト: solosanders/octokit.net
 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
ファイル: IssueEvent.cs プロジェクト: RadicalLove/octokit.net
 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
ファイル: EventInfo.cs プロジェクト: servicetitan/octokit.net
 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;
 }
コード例 #8
0
 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);