BeiDream.Utils.DisposeAction.DisposeAction C# (CSharp) 메소드

DisposeAction() 공개 메소드

Creates a new DisposeAction object.
public DisposeAction ( System.Action action ) : System
action System.Action Action to be executed when this object is disposed.
리턴 System
        public DisposeAction(Action action)
        {
            if (action == null)
            {
                throw new ArgumentNullException("action");
            }

            _action = action;
        }