Example #1
0
        public override void Execute()
        {
            College = new College(ProgID);

            var tag = College.Tags.FindByName(TagName);
            var group = College.ActivityGroups.FindByName(ActivityGroupName);
            foreach (var member in group.Members)
            {
                if (Action == ActionType.Add)
                    member.Tags.Add(tag);
                else
                    member.Tags.Remove(tag);
            }
        }
 public ActivityGroup(College col)
 {
     College = col;
     Object = col.Object.CreateActivityGroup();
     College.GetObject<ActivityGroup>(Object);
 }
 public ProgrammeOfStudy(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #4
0
 public Department(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #5
0
 public Location(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #6
0
 public PeriodInYearPattern(College college)
 {
     College = college;
     Object = college.Object.CreatePeriodInYearPattern();
 }
Example #7
0
 public Zone(College col)
 {
     College = col;
     Object = col.Object.CreateZone();
     College.GetObject<Zone>(Object);
 }
Example #8
0
 public PeriodInYearPattern(College college)
 {
     College = college;
     Object = college.Object.CreatePeriodInYearPattern();
 }
 public ProgrammeOfStudy(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #10
0
 public Tag(College col)
 {
     College = col;
     Object = col.Object.CreateTag();
     College.GetObject<Tag>(Object);
 }
Example #11
0
 public Tag(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #12
0
 public Module(College col)
 {
     College = col;
     Object  = col.Object.CreateModule();
     College.GetObject <Module>(Object);
 }
Example #13
0
 public Module(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #14
0
 public ActivityType(College col)
 {
     College = col;
     Object  = col.Object.CreateActivityType();
     College.GetObject <ActivityType>(Object);
 }
 public ActivityGroup(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #16
0
 public Department(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
 public ProgrammeOfStudy(College col)
 {
     College = col;
     Object = col.Object.CreateProgrammeOfStudy();
     College.GetObject<ProgrammeOfStudy>(Object);
 }
Example #18
0
 public WeekInYearPattern(College college)
 {
     College = college;
     Object = college.Object.CreateWeekInYearPattern();
 }
 public AvailabilityPattern(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #20
0
 public StudentSet(College col)
 {
     College = col;
     Object  = col.Object.CreateStudentSet();
     College.GetObject <StudentSet>(Object);
 }
 public AvailabilityPattern(College col)
 {
     College = col;
     Object = col.Object.CreateAvailabilityPattern();
     College.GetObject<AvailabilityPattern>(Object);
 }
 public Suitability(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
 public ActivityType(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
 public StaffMember(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
 public ActivityType(College col)
 {
     College = col;
     Object = col.Object.CreateActivityType();
     College.GetObject<ActivityType>(Object);
 }
Example #26
0
 public ActivityType(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #27
0
 public Tag(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
 public ProgrammeOfStudy(College col)
 {
     College = col;
     Object  = col.Object.CreateProgrammeOfStudy();
     College.GetObject <ProgrammeOfStudy>(Object);
 }
Example #29
0
 public Tag(College col)
 {
     College = col;
     Object  = col.Object.CreateTag();
     College.GetObject <Tag>(Object);
 }
 public ActivityGroup(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
 public StaffMemberGroup(College col)
 {
     College = col;
     Object = col.Object.CreateStaffMemberGroup();
     College.GetObject<StaffMemberGroup>(Object);
 }
 public ActivityGroup(College col)
 {
     College = col;
     Object  = col.Object.CreateActivityGroup();
     College.GetObject <ActivityGroup>(Object);
 }
 public StaffMemberGroup(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #34
0
 public Department(College col)
 {
     College = col;
     Object  = col.Object.CreateDepartment();
     College.GetObject <Department>(Object);
 }
Example #35
0
 public StudentSet(College col)
 {
     College = col;
     Object = col.Object.CreateStudentSet();
     College.GetObject<StudentSet>(Object);
 }
Example #36
0
 public WeekInYearPattern(College college, dynamic obj)
 {
     College = college;
     Object = obj;
 }
Example #37
0
 public StudentSet(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #38
0
 public Zone(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
Example #39
0
 public Zone(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #40
0
 public StudentSet(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #41
0
 public Zone(College col)
 {
     College = col;
     Object  = col.Object.CreateZone();
     College.GetObject <Zone>(Object);
 }
Example #42
0
 public WeekInYearPattern(College college)
 {
     College = college;
     Object = college.Object.CreateWeekInYearPattern();
 }
 public AvailabilityPattern(College col, dynamic obj)
 {
     College = col;
     Object  = obj;
 }
Example #44
0
 public WeekInYearPattern(College college, dynamic obj)
 {
     College = college;
     Object = obj;
 }
 public AvailabilityPattern(College col)
 {
     College = col;
     Object  = col.Object.CreateAvailabilityPattern();
     College.GetObject <AvailabilityPattern>(Object);
 }
 public Suitability(College col)
 {
     College = col;
     Object  = col.Object.CreateSuitability();
     College.GetObject <Suitability>(Object);
 }
Example #47
0
 public Suitability(College col)
 {
     College = col;
     Object = col.Object.CreateSuitability();
     College.GetObject<Suitability>(Object);
 }
Example #48
0
 public Location(College col)
 {
     College = col;
     Object  = col.Object.CreateLocation();
     College.GetObject <Location>(Object);
 }
Example #49
0
 public Suitability(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }
 public StaffMember(College col)
 {
     College = col;
     Object  = col.Object.CreateStaffMember();
     College.GetObject <StaffMember>(Object);
 }
 public LocationGroup(College col)
 {
     College = col;
     Object = col.Object.CreateLocationGroup();
     College.GetObject<LocationGroup>(Object);
 }
Example #52
0
 public Department(College col)
 {
     College = col;
     Object = col.Object.CreateDepartment();
     College.GetObject<Department>(Object);
 }
 public LocationGroup(College col, dynamic obj)
 {
     College = col;
     Object = obj;
 }