Beispiel #1
0
        }                             //Texto da aresta no formato "No1 <> No2"

        public Aresta(No no1, No no2) //construtor da aresta
        {
            this.no1  = no1;
            this.no2  = no2;
            this.nome = no1.nome + " <> " + no2.nome;//constrói o nome da aresta no ato da criação dela
        }
Beispiel #2
0
 public Foo(string s)
 {
     No.Op(s);
 }
Beispiel #3
0
 public No(T valor)
 {
     this.valor = valor;
     this.prox  = null;
 }
Beispiel #4
0
 public Fila()
 {
     inicio = null;
 }
Beispiel #5
0
 public ArvoreBinaria()
 {
     Raiz = null;
 }
Beispiel #6
0
 public Jogo(IComponenteInterfaceUsuario interfaceComponenteInterface, No esquerda, No direita, string nomePrato) : base(esquerda, direita, nomePrato)
 {
     _componenteInterface = interfaceComponenteInterface;
 }
Beispiel #7
0
        protected DictionaryEx(SerializationInfo info, StreamingContext context)
#endif
        {
            No.Op(info);
            No.Op(context);
        }
 public static OpClass operator ^(OpClass a, OpClass b)
 {
     No.Op(b);
     return(a);
 }
 public static OpClass operator <<(OpClass a, int b)
 {
     No.Op(b);
     return(a);
 }
 public static void WrongUnaryReturnVoid(OpClass a)
 {
     No.Op(a);
 }
 public static OpClass WrongUnaryParameterCount(OpClass a, OpClass b)
 {
     No.Op(b);
     return(a);
 }
 public static bool operator <=(OpClass a, OpClass b)
 {
     No.Op(a);
     No.Op(b);
     return(false);
 }
 public static bool operator false(OpClass a)
 {
     No.Op(a);
     return(false);
 }
        protected OperationCanceledExceptionEx(SerializationInfo info, StreamingContext context)
#endif
        {
            No.Op(info);
            No.Op(context);
        }
Beispiel #15
0
 /// <summary>
 ///     Provides the implementation of performing a unary operation.  Derived classes can
 ///     override this method to customize behavior.  When not overridden the call site requesting
 ///     the binder determines the behavior.
 /// </summary>
 /// <param name="binder">The binder provided by the call site.</param>
 /// <param name="result">The result of the operation.</param>
 /// <returns>true if the operation is complete, false if the call site should determine behavior.</returns>
 public virtual bool TryUnaryOperation(UnaryOperationBinder binder, out object result)
 {
     No.Op(binder);
     result = null;
     return(false);
 }
Beispiel #16
0
 public static void Expandir(this No no, int[,] estadoObjetivo)
 {
     // Gerar as possibilidades
     new Expandir(no).Gerar(estadoObjetivo);
 }
Beispiel #17
0
 public Fechados()
 {
     inicio = null;
 }
 public void Add(string s)
 {
     No.Op(s);
 }
Beispiel #19
0
        private void MontarProximoTurno(RespostaEnum ultimaOpcao, No noParente)
        {
            var novoTurno = Turno.Instance;

            novoTurno.MontarTurno(_componenteInterface, this, ultimaOpcao, noParente);
        }
Beispiel #20
0
 /// <summary>
 ///     Provides the implementation of converting the <see cref="DynamicObject" /> to another type.
 ///     Derived classes can override this method to customize behavior.  When not overridden the
 ///     call site requesting the binder determines the behavior.
 /// </summary>
 /// <param name="binder">The binder provided by the call site.</param>
 /// <param name="result">The result of the conversion.</param>
 /// <returns>true if the operation is complete, false if the call site should determine behavior.</returns>
 public virtual bool TryConvert(ConvertBinder binder, out object result)
 {
     No.Op(binder);
     result = null;
     return(false);
 }
Beispiel #21
0
 public void SetInicio(No inicio)
 {
     this.inicio = inicio;
 }
Beispiel #22
0
 /// <summary>
 ///     Provides the implementation of performing a delete index operation.  Derived classes
 ///     can override this method to customize behavior.  When not overridden the call site
 ///     requesting the binder determines the behavior.
 /// </summary>
 /// <param name="binder">The binder provided by the call site.</param>
 /// <param name="indexes">The indexes to be deleted.</param>
 /// <returns>true if the operation is complete, false if the call site should determine behavior.</returns>
 public virtual bool TryDeleteIndex(DeleteIndexBinder binder, object[] indexes)
 {
     No.Op(binder);
     No.Op(indexes);
     return(false);
 }
Beispiel #23
0
 public No(contatos _dado)
 {
     Dado = _dado;
     Esq  = null;
     Dir  = null;
 }
Beispiel #24
0
 /// <summary>
 ///     Provides the implementation of deleting a member.  Derived classes can override
 ///     this method to customize behavior.  When not overridden the call site requesting the
 ///     binder determines the behavior.
 /// </summary>
 /// <param name="binder">The binder provided by the call site.</param>
 /// <returns>true if the operation is complete, false if the call site should determine behavior.</returns>
 public virtual bool TryDeleteMember(DeleteMemberBinder binder)
 {
     No.Op(binder);
     return(false);
 }
Beispiel #25
0
 //Adiciona NO na arvore
 public void Inserir(contatos _dado)
 {
     Raiz = Inserir(Raiz, _dado);
 }
Beispiel #26
0
 /// <summary>
 ///     Provides the implementation of getting a member.  Derived classes can override
 ///     this method to customize behavior.  When not overridden the call site requesting the
 ///     binder determines the behavior.
 /// </summary>
 /// <param name="binder">The binder provided by the call site.</param>
 /// <param name="result">The result of the get operation.</param>
 /// <returns>true if the operation is complete, false if the call site should determine behavior.</returns>
 public virtual bool TryGetMember(GetMemberBinder binder, out object result)
 {
     No.Op(binder);
     result = null;
     return(false);
 }
Beispiel #27
0
 private void EmitDebugInfoExpression(Expression expr)
 {
     No.Op(expr);
 }
Beispiel #28
0
 /// <summary>
 ///     Provides the implementation of setting a member.  Derived classes can override
 ///     this method to customize behavior.  When not overridden the call site requesting the
 ///     binder determines the behavior.
 /// </summary>
 /// <param name="binder">The binder provided by the call site.</param>
 /// <param name="value">The value to set.</param>
 /// <returns>true if the operation is complete, false if the call site should determine behavior.</returns>
 public virtual bool TrySetMember(SetMemberBinder binder, object value)
 {
     No.Op(binder);
     No.Op(value);
     return(false);
 }
Beispiel #29
0
 public No(T valor, No <T> prox)
 {
     this.valor = valor;
     this.prox  = prox;
 }
Beispiel #30
0
 void IDeserializationCallback.OnDeserialization(object sender)
 {
     No.Op(sender);
 }