Example #1
0
        /// <summary>
        /// Factory method for deserialization
        /// </summary>
        internal static NodeShutdown FactoryForDeserialization(INodePacketTranslator translator)
        {
            NodeShutdown shutdown = new NodeShutdown();

            shutdown.Translate(translator);
            return(shutdown);
        }
Example #2
0
 /// <summary>
 /// Factory method for deserialization
 /// </summary>
 internal static NodeShutdown FactoryForDeserialization(INodePacketTranslator translator)
 {
     NodeShutdown shutdown = new NodeShutdown();
     shutdown.Translate(translator);
     return shutdown;
 }