• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ITeacher类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: CreateOffsiteCourse

 public IOffsiteCourse CreateOffsiteCourse(string name, ITeacher teacher, string town)
 {
     return new OffsiteCourse(name, teacher, town);
 }
开发者ID:vasilev81,项目名称:SoftwareAcademy-Skeleton,代码行数:4,代码来源:SoftwareAcademy.cs


示例17: LocalCourse

 public LocalCourse(string name, string lab, ITeacher teacher = null)
     : base(name, teacher)
 {
     this.Lab = lab;
 }
开发者ID:stoyans,项目名称:Telerik,代码行数:5,代码来源:LocalCourse.cs


示例18: CreateLocalCourse

 public ILocalCourse CreateLocalCourse(string name, ITeacher teacher, string lab)
 {
     var localCourse = new LocalCourse(name, teacher, lab);
     return localCourse;
 }
开发者ID:aleks-todorov,项目名称:HomeWorks,代码行数:5,代码来源:SoftwareAcademy.cs


示例19: OS

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


示例20: LocalCourse

 public LocalCourse(string name, ITeacher teacher, string lab)
     : base(name)
 {
     this.Teacher = teacher;
     this.lab = lab;
 }
开发者ID:NikolovNikolay,项目名称:Exam-Tasks,代码行数:6,代码来源:Program.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ITelemetry类代码示例发布时间:2022-05-24
下一篇:
C# ITcpConnection类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap