示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StreamAttributes" /> class.
 /// </summary>
 /// <param name="Id">The stream ID..</param>
 /// <param name="CrossPod">If true, this is a cross-pod stream..</param>
 /// <param name="Active">If true, this stream is active..</param>
 /// <param name="StreamType">The type of the stream (IM, multi-IM, chat room, user wall)..</param>
 /// <param name="_StreamAttributes">Additional stream details applicable to IMs, MIMs and user walls..</param>
 /// <param name="RoomAttributes">Additional stream details applicable to chatrooms..</param>
 public StreamAttributes(string Id = default(string), bool?CrossPod = default(bool?), bool?Active = default(bool?), StreamType StreamType = default(StreamType), ConversationSpecificStreamAttributes _StreamAttributes = default(ConversationSpecificStreamAttributes), RoomSpecificStreamAttributes RoomAttributes = default(RoomSpecificStreamAttributes))
 {
     this.Id                = Id;
     this.CrossPod          = CrossPod;
     this.Active            = Active;
     this.StreamType        = StreamType;
     this._StreamAttributes = _StreamAttributes;
     this.RoomAttributes    = RoomAttributes;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="StreamAttributes" /> class.
        /// </summary>
        /// <param name="Id">The stream ID..</param>
        /// <param name="CrossPod">If true, this is a cross-pod stream..</param>
        /// <param name="Active">If true, this stream is active..</param>
        /// <param name="StreamType">The type of the stream (IM, multi-IM, chat room, user wall)..</param>
        /// <param name="_StreamAttributes">Additional stream details applicable to IMs, MIMs and user walls..</param>
        /// <param name="RoomAttributes">Additional stream details applicable to chatrooms..</param>
        public StreamAttributes(string Id = null, bool?CrossPod = null, bool?Active = null, StreamType StreamType = null, ConversationSpecificStreamAttributes _StreamAttributes = null, RoomSpecificStreamAttributes RoomAttributes = null)
        {
            this.Id = Id;

            this.CrossPod = CrossPod;

            this.Active = Active;

            this.StreamType = StreamType;

            this._StreamAttributes = _StreamAttributes;

            this.RoomAttributes = RoomAttributes;
        }