private void RegisterSingleton(ContentFactory factory) { if (string.IsNullOrEmpty(this.ContentType)) { factory.RegisterSingletonContent(this.Type); } else { factory.RegisterSingletonContent(this.ContentType, this.Type); } }
private void RegisterSingleton(ContentFactory factory) { if (string.IsNullOrEmpty(this.ContentType)) { factory.RegisterSingletonContent(this.Type); } else { factory.RegisterSingletonContent(this.ContentType, this.Type); } }