当前位置: 首页>>代码示例>>C#>>正文


C# ITeacher类代码示例

本文整理汇总了C#中ITeacher的典型用法代码示例。如果您正苦于以下问题:C# ITeacher类的具体用法?C# ITeacher怎么用?C# ITeacher使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ITeacher类属于命名空间,在下文中一共展示了ITeacher类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Course

        protected Course(string name, ITeacher teacher)
        {
            this.Name = name;
            this.Teacher = teacher;

            program = new List<string>();
        }
开发者ID:nikolaynikolov,项目名称:Telerik,代码行数:7,代码来源:SoftwareAcademyCommandExecutor.cs

示例2: CreateOffsiteCourse

    public IOffsiteCourse CreateOffsiteCourse(string name, ITeacher teacher, string town)
    {
        //returns a offsiteCourse object
        IOffsiteCourse newLocalCourse = new OffsiteCourse(name, teacher, town);

        return newLocalCourse;
    }
开发者ID:vassil,项目名称:CSharp,代码行数:7,代码来源:CourseFactory.cs

示例3: CreateLocalCourse

    public ILocalCourse CreateLocalCourse(string name, ITeacher teacher, string lab)
    {
        //returns a localCourse object
        ILocalCourse newLocalCourse = new LocalCourse(name, teacher, lab);

        return newLocalCourse;
    }
开发者ID:vassil,项目名称:CSharp,代码行数:7,代码来源:CourseFactory.cs

示例4: Course

        public Course(string name, ITeacher teacher)
        {
            this.Name = name;
            this.Teacher = teacher;

            this.Topics = new List<string>();
        }
开发者ID:jesconsa,项目名称:Telerik-Academy,代码行数:7,代码来源:Course.cs

示例5: AddTeacher

        public int AddTeacher(ITeacher teacher)
        {
            var id = this.idProvider.GenerateTeacherId();

            this.teachers.Entities.Add(id, teacher);

            return id;
        }
开发者ID:cwetanow,项目名称:Telerik,代码行数:8,代码来源:SchoolService.cs

示例6: ClassInfo

 public ClassInfo(DateTime dateOfConduction, DateTime  classStartHour, DateTime classEndHour, ITeacher teacher, ICourse course)
 {
     this.DateOfConduction = dateOfConduction;
     this.ClassStartHour = classStartHour;
     this.ClassEndHour = classEndHour;
     this.ClassLengthInMinutes = this.CalculateClassLengthInMinutes(this.ClassStartHour, this.ClassEndHour);
     this.ConductedClassHours = this.CalculateNumberOfHoursTaken(this.ClassLengthInMinutes);
     this.Teacher = teacher;
     this.Course = course;
 }
开发者ID:flyeven,项目名称:S0400LanguageSchool,代码行数:10,代码来源:ClassInfo.cs

示例7: LocalCourse

 public LocalCourse(string name, ITeacher teacher, string lab)
     : base(name, teacher)
 {
     if (lab != null)
     {
         this.Lab = lab;
     }
     else
     {
         throw new ArgumentNullException();
     }
 }
开发者ID:nikolovk,项目名称:TelerikAcademy,代码行数:12,代码来源:LocalCourse.cs

示例8: OffsiteCourse

 public OffsiteCourse(string name, ITeacher teacher, string town)
     : base(name, teacher)
 {
     if (town != null)
     {
         this.Town = town;
     }
     else
     {
         throw new ArgumentNullException();
     }
 }
开发者ID:nikolovk,项目名称:TelerikAcademy,代码行数:12,代码来源:OffsiteCourse.cs

示例9: LocalCourses

 public LocalCourses(string name, ITeacher teacher, string lab)
 {
     if (name == null || lab == null)
     {
         throw new ArgumentNullException();
     }
     this.Topic = new List<string>();
     this.Type = CourseType.LocalCourse;
     this.Name = name;
     this.Teacher = teacher;
     this.Lab = lab;
 }
开发者ID:nnaidenov,项目名称:TelerikAcademy,代码行数:12,代码来源:LocalCourses.cs

示例10: Course

 public Course(string name, ITeacher teacher)
 {
     if (name != null)
     {
         this.Teacher = teacher;
         this.Name = name;
         this.Topics = new List<string>();
     }
     else
     {
         throw new ArgumentNullException();
     }
 }
开发者ID:nikolovk,项目名称:TelerikAcademy,代码行数:13,代码来源:Course.cs

示例11: OffsiteCourses

 public OffsiteCourses(string name, ITeacher teacher, string town)
 {
     if (name == null || town == null)
     {
         throw new ArgumentNullException();
     }
     else
     {
         this.Topic = new List<string>();
         this.Type = CourseType.OffsiteCourse;
         this.Name = name;
         this.Teacher = teacher;
         this.Town = town;
     }
 }
开发者ID:nnaidenov,项目名称:TelerikAcademy,代码行数:15,代码来源:OffsiteCourses.cs

示例12: Automata

 public Automata( ITeacher te, DayPeriod time)
 {
     Console.Out.Write("Create Automata Course object : ");
     Console.Out.WriteLine(time);
     gradCourse = false;
 }
开发者ID:rcijov,项目名称:Ninject,代码行数:6,代码来源:Automata.cs

示例13: Course

 protected Course(string name, ITeacher teacher)
     : base(name)
 {
     this.Teacher = teacher;
     this.courseTopics = new List<string>();
 }
开发者ID:NikolaPineda,项目名称:Telerik,代码行数:6,代码来源:Course.cs

示例14: Course

 protected Course(string name, ITeacher teacher)
 {
     this.Name = name;
     this.Teacher = teacher;
     this.topics = new LinkedList<string>();
 }
开发者ID:valkanov,项目名称:TelerikAcademy,代码行数:6,代码来源:Course.cs

示例15: LocalCourses

 public LocalCourses(string name, ITeacher teacher, string lab)
     : base(name, teacher)
 {
     this.Lab = lab;
 }
开发者ID:TeeeeeC,项目名称:TelerikAcademy2015-2016,代码行数:5,代码来源:SoftwareAcademy.cs


注:本文中的ITeacher类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。