Archetype.PrototypalObject.TryUnaryOperation C# (CSharp) Метод

TryUnaryOperation() публичный Метод

public TryUnaryOperation ( UnaryOperationBinder binder, object &result ) : bool
binder System.Dynamic.UnaryOperationBinder
result object
Результат bool
        public override bool TryUnaryOperation( UnaryOperationBinder binder, out object result )
        {
            if(!ReferenceEquals(Prototype, null))
            {
                if(Prototype.TryUnaryOperation(binder, out result))
                {
                    return true;
                }
            }
            if ( TryUnaryOperationMissing == null )
            {
                result = null;
                return false;
            }
            return TryUnaryOperationMissing( binder, out result );
        }
    }