Esempio n. 1
0
        // Load the meta-data configured that with enumerated types
        // and associate with base ReferenceType so it can be queried
        // at runtime.
        public override void StartModule(IContainer container, ILifetimeScope scope)
        {
            var referenceTypeRep = scope.Resolve <IReferenceTypeRepository>();

            ReferenceType.SetReferenceTypes(referenceTypeRep.GetReferenceTypes());
        }