Exemplo n.º 1
0
        // Helper Functions
        // ================

        // returns a new id with a GUID so that it is guaranteed to be unique
        private string NewId(MajorObject mo)
        {
            return(mo.GetType().Name + " " + System.Guid.NewGuid().ToString());
        }
Exemplo n.º 2
0
        // Helper Functions
        // ================

        // returns a new id with a GUID so that it is guaranteed to be unique
        private string NewId(MajorObject mo)
        {
            return mo.GetType().Name + " " + System.Guid.NewGuid().ToString();
        }