Esempio n. 1
0
        private void RegisterContainerUncontrolledCollection <T>(Type itemType,
                                                                 IEnumerable <T> containerUncontrolledCollection)
        {
            IEnumerable readOnlyCollection = containerUncontrolledCollection.MakeReadOnly();
            IEnumerable castedCollection   = Helpers.CastCollection(readOnlyCollection, itemType);

            this.RegisterGenericContainerUncontrolledCollection(itemType, castedCollection);
        }