Пример #1
0
        public void Update(string title, string description, PresentationLevel level, PresentationCategory category, string track, string timeSlot)
        {
            Title       = title;
            Description = description;
            Level       = level;
            Category    = category;
            Track       = string.IsNullOrEmpty(track) ? "None" : track;
            Slot        = string.IsNullOrEmpty(timeSlot) ? "None" : timeSlot;

            Raise(new PresentationChanged {
                PresentationId = Id
            });
        }
Пример #2
0
        public Presentation(UserProfile user, string title, string description, PresentationLevel level, PresentationCategory category)
        {
            User = user;
            UserId = user.Id;
            Title = title;
            Description = description;
            Level = level;
            Category = category;
            Track = "None";
            Slot = "None";

            Status = PresentationStatus.Pending;

            Raise(new PresentationCreated {PresentationId = Id});
        }
Пример #3
0
        public Presentation(UserProfile user, string title, string description, PresentationLevel level, PresentationCategory category)
        {
            User        = user;
            UserId      = user.Id;
            Title       = title;
            Description = description;
            Level       = level;
            Category    = category;
            Track       = "None";
            Slot        = "None";

            Status = PresentationStatus.Pending;

            Raise(new PresentationCreated {
                PresentationId = Id
            });
        }
Пример #4
0
        public void Update(string title, string description, PresentationLevel level, PresentationCategory category, string track, string timeSlot)
        {
            Title = title;
            Description = description;
            Level = level;
            Category = category;
            Track = string.IsNullOrEmpty(track) ? "None" : track;
            Slot = string.IsNullOrEmpty(timeSlot) ? "None" : timeSlot;

            Raise(new PresentationChanged {PresentationId = Id});
        }