Ariadne.SharedInt32.Subtract C# (CSharp) 메소드

Subtract() 공개 메소드

Atomically subtract a value from the Ariadne.SharedInt32.
public Subtract ( int subtrahend ) : int
subtrahend int The number to subtract from the .
리턴 int
        public int Subtract(int subtrahend)
        {
            return Interlocked.Add(ref _value, -subtrahend);
        }