Exemplo n.º 1
0
        public MicrotypeRegistry RegisterRuntimeMicrotype <T>(string category, string identifier)
            where T : IRuntimeMicrotype
        {
            var descriptor = new RuntimeMicrotypeDescriptor <T>(category, identifier);

            return(RegisterRuntimeMicrotype(descriptor));
        }
Exemplo n.º 2
0
 public SupportsRuntimeMicrotypeAttribute(RuntimeMicrotypeDescriptor descriptor)
 {
     this.Descriptor = descriptor;
 }
Exemplo n.º 3
0
 public MicrotypeRegistry RegisterRuntimeMicrotype(RuntimeMicrotypeDescriptor descriptor)
 {
     _runtime.Add(descriptor);
     return(this);
 }