Пример #1
0
    public BusinessCard(string empName, string designation, string dept, string mobile, string office, string fax)
    {
      _employee = new EmployeeDetails
      {
        FullName = empName,
        Designation = designation,
        Department = dept
      };

      _address = AddressFlyweight.Address;

      _contact = new Contact
      {
        Office = office,
        Mobile = mobile,
        Fax = fax
      };
    }