Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            Testamento testamento = obj as Testamento;

            if ((object)testamento == null)
            {
                return(false);
            }
            if (!Object.Equals(this.Acronimo, testamento.Acronimo))
            {
                return(false);
            }
            if (!Object.Equals(this.Nome, testamento.Nome))
            {
                return(false);
            }
            return(true);
        }
Exemplo n.º 2
0
 private void testamentoFound(Testamento testamento)
 {
     currentTestamento = currentTraducao.AddTestamento(testamento);
 }
Exemplo n.º 3
0
 public Testamento AddTestamento(Testamento testamento)
 {
     testamento.Traducao = this;
     this.testamentos.Add(testamento);
     return(testamento);
 }
Exemplo n.º 4
0
 public Testamento AddTestamento(Testamento testamento)
 {
     testamento.Traducao = this;
     this.testamentos.Add(testamento);
     return testamento;
 }