コード例 #1
0
        internal AsyncJob(SteamClient client, ulong jobId)
        {
            jobStart = DateTime.UtcNow;
            JobID    = jobId;

            client.StartJob(this);
        }
コード例 #2
0
ファイル: JobID.cs プロジェクト: ealexeyja/XFSteamKit
        internal AsyncJob(SteamClient client, JobID jobId)
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            if (jobId == null)
            {
                throw new ArgumentNullException(nameof(jobId));
            }

            jobStart = DateTime.UtcNow;
            JobID    = jobId;

            client.StartJob(this);
        }
コード例 #3
0
 /// <summary>
 /// Constructors are required to register this AsyncJob with the JobManager once initialized.
 /// </summary>
 /// <param name="client"></param>
 internal void RegisterJob(SteamClient client)
 {
     client.StartJob(this);
 }