Example #1
0
 /// <summary>
 /// Creates a new <see cref="ClassroomModel"/> as a member of the given <see cref="ProtocolModel"/>,
 /// with the given Human Name.
 /// </summary>
 public ClassroomModel(ProtocolModel protocol, string humanName, ClassroomModelType classroomModelType)
 {
     this.m_Protocol           = protocol;
     this.m_ClassroomModelType = classroomModelType;
     this.m_Participants       = new ParticipantCollection(this, "Participants");
     this.m_Presentations      = new PresentationCollection(this, "Presentations");
     this.m_HumanName          = humanName;
     this.m_Connected          = false;
     this.m_RtpEndPoint        = null;
 }
Example #2
0
 /// <summary>
 /// Creates a new <see cref="ClassroomModel"/> as a member of the given <see cref="ProtocolModel"/>,
 /// with the given Human Name.
 /// </summary>
 public ClassroomModel(ProtocolModel protocol, string humanName, ClassroomModelType classroomModelType)
 {
     this.m_Protocol = protocol;
     this.m_ClassroomModelType = classroomModelType;
     this.m_Participants = new ParticipantCollection(this, "Participants");
     this.m_Presentations = new PresentationCollection(this, "Presentations");
     this.m_HumanName = humanName;
     this.m_Connected = false;
     this.m_RtpEndPoint = null;
 }
 internal static PresentationCollection EmbedRelations(this PresentationCollection collection,
                                                       HttpRequest request, IEmbeddedRelationsSchema schema, UserManager <Model.User> userManager) =>
 EmbedRelations <PresentationCollection, PresentationResource>(collection, request, schema, userManager);