public MicrotypeRegistry RegisterRuntimeMicrotype <T>(string category, string identifier) where T : IRuntimeMicrotype { var descriptor = new RuntimeMicrotypeDescriptor <T>(category, identifier); return(RegisterRuntimeMicrotype(descriptor)); }
public SupportsRuntimeMicrotypeAttribute(RuntimeMicrotypeDescriptor descriptor) { this.Descriptor = descriptor; }
public MicrotypeRegistry RegisterRuntimeMicrotype(RuntimeMicrotypeDescriptor descriptor) { _runtime.Add(descriptor); return(this); }