Testing.Department.CreateDepartment C# (CSharp) Метод

CreateDepartment() публичный статический Метод

Create a new Department object.
public static CreateDepartment ( global departmentID, global name, global groupName, global modifiedDate ) : Department
departmentID global Initial value of the DepartmentID property.
name global Initial value of the Name property.
groupName global Initial value of the GroupName property.
modifiedDate global Initial value of the ModifiedDate property.
Результат Department
        public static Department CreateDepartment(global::System.Int16 departmentID, global::System.String name, global::System.String groupName, global::System.DateTime modifiedDate)
        {
            Department department = new Department();
            department.DepartmentID = departmentID;
            department.Name = name;
            department.GroupName = groupName;
            department.ModifiedDate = modifiedDate;
            return department;
        }