ItemsCollection.ItemsCollection C# (CSharp) Method

ItemsCollection() static private method

static private ItemsCollection ( )
        static ItemsCollection()
        {
            /* Forces the static constructor of Item to run, so if anyone tries to set ItemParentChanger,
            it runs this static constructor, which in turn runs the static constructor of Item,
            which sets ItemParentChanger before the initial call can complete.*/
            Item.Dummy();
        }
        private static object itemParentChangerLock = new object();

Same methods

ItemsCollection::ItemsCollection ( owner )
ItemsCollection::ItemsCollection ( owner, ItemParentChangerDelegate itemParentChanger )