Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            SignatureUser chainOfSignature = SetChainOfSignature();
            Employee      employee         = new Employee("Vladimir");
            float         testSumm         = 0;
            string        testString       = string.Empty;

            do
            {
                Console.WriteLine($"What summ {employee.Name} wants?");
                testString = Console.ReadLine();
            }while (!float.TryParse(testString, out testSumm));
            chainOfSignature.CheckSumm(testSumm, employee);
            Console.ReadLine();
        }
Ejemplo n.º 2
0
 public void SetNextSignatureUser(SignatureUser signatureUser)
 {
     _nextSignatureUser = signatureUser;
 }