예제 #1
0
        private void RegisterToplevelInternal(ToplevelRegistration r)
        {
            if (!myRegisteredToplevels.Add(r.Type))
            {
                return;
            }
            Protocol.InitializationLogger.Trace("REGISTER serializers for {0}", r.Type.Name);

            r.Action(this);
        }
예제 #2
0
        private void RegisterToplevelInternal(ToplevelRegistration r)
        {
            if (!myRegisteredToplevels.Add(r.Type))
            {
                return;
            }
            Protocol.InitTrace?.Log($"REGISTER serializers for {r.Type.Name}");

            r.Action(this);
        }