Example #1
0
        private static NurseryStruct PDU(NurseryType nt, string sdu)
        {
            NurseryStruct ns = new NurseryStruct
            {
                type    = nt,
                content = sdu
            };

            return(ns);
        }
Example #2
0
        private static NurseryStruct PDU(NurseryType type, string content)
        {
            NurseryStruct ns = new NurseryStruct
            {
                type    = type,
                content = content
            };

            return(ns);
        }