Codebreak.Service.World.Network.MessageDispatcher.SafeRemoveHandler C# (CSharp) Method

SafeRemoveHandler() public method

public SafeRemoveHandler ( Action method ) : void
method Action
return void
        public virtual void SafeRemoveHandler(Action<string> method)
        {
            AddMessage(() =>
                {
                    OnMessage -= method;
                });
        }