Esempio n. 1
0
        public void UnregisterTechnicalEntityType(Type technicalEntityType, Type entityType)
        {
            Object writeLock = GetWriteLock();

            lock (writeLock)
            {
                technicalEntityTypes.Unregister(technicalEntityType, entityType);
                IEntityMetaData metaData = GetExtensionHardKey(entityType);
                if (metaData != null)
                {
                    base.Unregister(metaData, technicalEntityType);
                }
            }
        }
Esempio n. 2
0
        public void Unregister(IValueObjectConfig config, Type key)
        {
            Type entityType = config.EntityType;
            Type valueType  = config.ValueType;

            Object writeLock = GetWriteLock();

            lock (writeLock)
            {
                typeToValueObjectConfig.Unregister(config, valueType);
                List <Type> valueObjectTypes = Get(entityType);
                valueObjectTypes.Remove(valueType);
                if (valueObjectTypes.Count == 0)
                {
                    Remove(entityType);
                }
            }
        }
Esempio n. 3
0
 public void unregisterService(Object service, String serviceName)
 {
     serviceNameToObjectMap.Unregister(service, serviceName);
 }
Esempio n. 4
0
 public void UnregisterNameBasedElementHandler(INameBasedHandler nameBasedElementHandler, String elementName)
 {
     nameToElementHandlers.Unregister(nameBasedElementHandler, elementName);
 }
Esempio n. 5
0
 public void UnregisterFileParser(IFileParser fileParser, String fileExtensionName)
 {
     fileParsers.Unregister(fileParser, fileExtensionName);
 }