Table of Contents

Subject 类

命名空间
ClassIsland.Shared.Models.Profile
程序集
ClassIsland.Shared.dll

代表一个科目

public class Subject : AttachableSettingsObject, INotifyPropertyChanged, INotifyPropertyChanging
继承
Subject
实现
继承成员

字段

Breaking

代表一个课间休息科目。

public static readonly Subject Breaking

字段值

Subject

Empty

代表一个空科目。

public static readonly Subject Empty

字段值

Subject

属性

Initial

科目简称

public string Initial { get; set; }

属性值

string

IsOutDoor

是否为户外课程

public bool IsOutDoor { get; set; }

属性值

bool

Name

科目名

public string Name { get; set; }

属性值

string

TeacherName

教师名

public string TeacherName { get; set; }

属性值

string

方法

GetFirstName()

获取当前科目任课老师姓名的姓氏,如果没有填写任课老师信息,则返回空字符串。

public string GetFirstName()

返回

string

任课老师的姓氏。