Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiContext" /> class.
 /// </summary>
 /// <param name="Registration">Registration.</param>
 /// <param name="Instructor">Instructor.</param>
 /// <param name="Team">Team.</param>
 /// <param name="ContextActivities">ContextActivities.</param>
 /// <param name="Revision">Revision.</param>
 /// <param name="Platform">Platform.</param>
 /// <param name="Language">Language.</param>
 /// <param name="Statement">Statement.</param>
 /// <param name="Extensions">Extensions.</param>
 public XapiContext(string Registration = default(string), XapiAgentGroup Instructor = default(XapiAgentGroup), XapiAgentGroup Team = default(XapiAgentGroup), XapiContextActivity ContextActivities = default(XapiContextActivity), string Revision = default(string), string Platform = default(string), string Language = default(string), XapiStatementReference Statement = default(XapiStatementReference), Dictionary <string, Object> Extensions = default(Dictionary <string, Object>))
 {
     this.Registration      = Registration;
     this.Instructor        = Instructor;
     this.Team              = Team;
     this.ContextActivities = ContextActivities;
     this.Revision          = Revision;
     this.Platform          = Platform;
     this.Language          = Language;
     this.Statement         = Statement;
     this.Extensions        = Extensions;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiContext" /> class.
 /// </summary>
 /// <param name="registration">registration.</param>
 /// <param name="instructor">instructor.</param>
 /// <param name="team">team.</param>
 /// <param name="contextActivities">contextActivities.</param>
 /// <param name="revision">revision.</param>
 /// <param name="platform">platform.</param>
 /// <param name="language">language.</param>
 /// <param name="statement">statement.</param>
 /// <param name="extensions">extensions.</param>
 public XapiContext(string registration = default(string), XapiAgentGroup instructor = default(XapiAgentGroup), XapiAgentGroup team = default(XapiAgentGroup), XapiContextActivity contextActivities = default(XapiContextActivity), string revision = default(string), string platform = default(string), string language = default(string), XapiStatementReference statement = default(XapiStatementReference), Dictionary <string, Object> extensions = default(Dictionary <string, Object>))
 {
     this.Registration      = registration;
     this.Instructor        = instructor;
     this.Team              = team;
     this.ContextActivities = contextActivities;
     this.Revision          = revision;
     this.Platform          = platform;
     this.Language          = language;
     this.Statement         = statement;
     this.Extensions        = extensions;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiStatement" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="actor">actor.</param>
 /// <param name="verb">verb.</param>
 /// <param name="objectActivity">objectActivity.</param>
 /// <param name="objectAgentGroup">objectAgentGroup.</param>
 /// <param name="objectStatementReference">objectStatementReference.</param>
 /// <param name="objectSubStatement">objectSubStatement.</param>
 /// <param name="result">result.</param>
 /// <param name="context">context.</param>
 /// <param name="timestamp">timestamp.</param>
 /// <param name="stored">stored.</param>
 /// <param name="authority">authority.</param>
 /// <param name="attachments">attachments.</param>
 public XapiStatement(string id = default(string), XapiAgentGroup actor = default(XapiAgentGroup), XapiVerb verb = default(XapiVerb), XapiActivity objectActivity = default(XapiActivity), XapiAgentGroup objectAgentGroup = default(XapiAgentGroup), XapiStatementReference objectStatementReference = default(XapiStatementReference), XapiStatement objectSubStatement = default(XapiStatement), XapiResult result = default(XapiResult), XapiContext context = default(XapiContext), DateTime?timestamp = default(DateTime?), DateTime?stored = default(DateTime?), XapiAgentGroup authority = default(XapiAgentGroup), List <XapiAttachment> attachments = default(List <XapiAttachment>))
 {
     this.Id                       = id;
     this.Actor                    = actor;
     this.Verb                     = verb;
     this.ObjectActivity           = objectActivity;
     this.ObjectAgentGroup         = objectAgentGroup;
     this.ObjectStatementReference = objectStatementReference;
     this.ObjectSubStatement       = objectSubStatement;
     this.Result                   = result;
     this.Context                  = context;
     this.Timestamp                = timestamp;
     this.Stored                   = stored;
     this.Authority                = authority;
     this.Attachments              = attachments;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiStatement" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Actor">Actor.</param>
 /// <param name="Verb">Verb.</param>
 /// <param name="ObjectActivity">ObjectActivity.</param>
 /// <param name="ObjectAgentGroup">ObjectAgentGroup.</param>
 /// <param name="ObjectStatementReference">ObjectStatementReference.</param>
 /// <param name="ObjectSubStatement">ObjectSubStatement.</param>
 /// <param name="Result">Result.</param>
 /// <param name="Context">Context.</param>
 /// <param name="Timestamp">Timestamp.</param>
 /// <param name="Stored">Stored.</param>
 /// <param name="Authority">Authority.</param>
 /// <param name="Attachments">Attachments.</param>
 public XapiStatement(string Id = default(string), XapiAgentGroup Actor = default(XapiAgentGroup), XapiVerb Verb = default(XapiVerb), XapiActivity ObjectActivity = default(XapiActivity), XapiAgentGroup ObjectAgentGroup = default(XapiAgentGroup), XapiStatementReference ObjectStatementReference = default(XapiStatementReference), XapiStatement ObjectSubStatement = default(XapiStatement), XapiResult Result = default(XapiResult), XapiContext Context = default(XapiContext), DateTime?Timestamp = default(DateTime?), DateTime?Stored = default(DateTime?), XapiAgentGroup Authority = default(XapiAgentGroup), List <XapiAttachment> Attachments = default(List <XapiAttachment>))
 {
     this.Id                       = Id;
     this.Actor                    = Actor;
     this.Verb                     = Verb;
     this.ObjectActivity           = ObjectActivity;
     this.ObjectAgentGroup         = ObjectAgentGroup;
     this.ObjectStatementReference = ObjectStatementReference;
     this.ObjectSubStatement       = ObjectSubStatement;
     this.Result                   = Result;
     this.Context                  = Context;
     this.Timestamp                = Timestamp;
     this.Stored                   = Stored;
     this.Authority                = Authority;
     this.Attachments              = Attachments;
 }