Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/ContainerConfigurationSchema.cs @ 278:6691aff01de1 v3
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API
author | cin |
---|---|
date | Thu, 03 May 2018 09:59:44 +0300 |
parents | 963b17c275be |
children | f07be402ab02 |
comparison
equal
deleted
inserted
replaced
277:963b17c275be | 278:6691aff01de1 |
---|---|
53 | 53 |
54 static ContainerConfigurationSchema CreateDefault() { | 54 static ContainerConfigurationSchema CreateDefault() { |
55 var schema = new ContainerConfigurationSchema(); | 55 var schema = new ContainerConfigurationSchema(); |
56 | 56 |
57 schema.RegisterContainerElement<RegisterElement>("register"); | 57 schema.RegisterContainerElement<RegisterElement>("register"); |
58 schema.RegisterContainerElement<FactoryElement>("factory"); | |
58 schema.RegisterContainerElement<SerializedElement>("serialized"); | 59 schema.RegisterContainerElement<SerializedElement>("serialized"); |
59 schema.RegisterContainerElement<ValueElement>("value"); | 60 schema.RegisterContainerElement<ValueElement>("value"); |
60 schema.RegisterContainerElement<IncludeElement>("include"); | 61 schema.RegisterContainerElement<IncludeElement>("include"); |
61 schema.RegisterContainerElement<AssemblyElement>("assembly"); | 62 schema.RegisterContainerElement<AssemblyElement>("assembly"); |
62 schema.RegisterContainerElement<NamespaceElement>("namespace"); | 63 schema.RegisterContainerElement<NamespaceElement>("namespace"); |