Cream.AllenTemporal.AllenVariable.Precededby C# (CSharp) Method

Precededby() public method

public Precededby ( AllenVariable v ) : void
v AllenVariable
return void
        public virtual void Precededby(AllenVariable v)
        {
            Network net = Network;
            // this Precededby v
            if (this != v)
            {
                new AllenConstraint(net, AllenEvents.PRECEDEDBY, this, v);
            }
            else
            {
                throw new NotImplementedException("Variable cannot event itself!!");
            }
        }