Esempio n. 1
0
        private void setContents(string[] contents, InstanceRef instance, List <InstanceRef> instanceRegistry)
        {
            contents[2] = instance.Lifetime.ToString();

            contents[3] = instance.ToString().Elid(75);

            contents[4] = instance.Name.Elid(25);

            instanceRegistry.Add(instance);
        }
Esempio n. 2
0
        private void setContents(string[] contents, InstanceRef instance, string name, bool isDefault)
        {
            contents[2] = instance.Lifetime.ToString();

            contents[3] = instance.ToString().Elid(75);


            contents[4] = instance.Name.Elid(25);


            _instances.Add(instance);
        }