StackOverflow Questions for Tag: activator

Arman Hayots
Arman Hayots

Reputation: 2508

Can I use Activator.CreateInstance with an Interface?

Score: 21

Views: 30054

Answers: 7

Read More
Sphinx
Sphinx

Reputation: 660

Attach Event handler to a Form created from a dll loaded at run-time

Score: 1

Views: 74

Answers: 1

Read More
joelc
joelc

Reputation: 2751

AssemblyLoadContext and dependency resolving when assemblies and the calling app have different versions of the same dependency

Score: 2

Views: 502

Answers: 1

Read More
Patrick Szalapski
Patrick Szalapski

Reputation: 9439

Is there a more concise way to register deeply-nested special dependencies in .NET ServiceCollection?

Score: 0

Views: 97

Answers: 2

Read More
Bijaya Rai
Bijaya Rai

Reputation: 55

Isolating assemblies to load and execute plugin applications where the plugged-in object only use the assemblies close to it

Score: 0

Views: 55

Answers: 0

Read More
user433023
user433023

Reputation: 267

Why is the DataContext null in the Loaded Event?

Score: 0

Views: 1357

Answers: 1

Read More
Tiffany Townsend
Tiffany Townsend

Reputation: 401

Fast creation of objects instead of Activator.CreateInstance(type)

Score: 40

Views: 33748

Answers: 6

Read More
Max
Max

Reputation: 482

Cannot convert type 'System.Reflection.PropertyInfo' to 'bool'

Score: 0

Views: 179

Answers: 1

Read More
user1858120
user1858120

Reputation: 19

Instantiating unknown generic type with unknown generic parameter

Score: 0

Views: 61

Answers: 0

Read More
Grant McConville
Grant McConville

Reputation: 37

How do I add a row to a DataGrid without knowing what collection it is bound to

Score: 0

Views: 56

Answers: 1

Read More
Ismail
Ismail

Reputation: 993

How to invoke static method on internal static class

Score: 0

Views: 132

Answers: 2

Read More
Simone
Simone

Reputation: 2430

How to create an instance of a class that have a constructor with a service injected and configured in the main in .net 7.0 with activator

Score: 0

Views: 454

Answers: 1

Read More
user2346947
user2346947

Reputation: 1

Is it safe to use Dynamic class creation at runtime? Apple will allow to publish it in appstore?

Score: 0

Views: 59

Answers: 1

Read More
Ralf Parzefall
Ralf Parzefall

Reputation: 21

Activator.CreateInstance(Type type, params object[] args) throws error "Unvalid URI: The URI is Empty"

Score: 0

Views: 68

Answers: 1

Read More
Cris
Cris

Reputation: 2021

Generic Activator.CreateInstance(typeof(T), msg) marked as nullable

Score: 0

Views: 596

Answers: 1

Read More
yBother
yBother

Reputation: 718

C# Reflection dynamically create concrete class instance of T

Score: 0

Views: 211

Answers: 2

Read More
Patric
Patric

Reputation: 2989

How can I use dependency injection in object created using Activator with a Factory Pattern?

Score: 1

Views: 680

Answers: 1

Read More
backwardsx
backwardsx

Reputation: 57

CS8600 Converting null literal or possible null value to non-nullable type when using Activator.CreateInstance

Score: 0

Views: 754

Answers: 0

Read More
eipalittau
eipalittau

Reputation: 3

MissingMethodException on Activator.CreateInstance

Score: 0

Views: 188

Answers: 1

Read More
Mike
Mike

Reputation: 1

Net 6: (T)Activator.CreateInstance(typeof(T)) throws an MissingMethodException: 'Cannot dynamically create an instance of type

Score: 0

Views: 64

Answers: 1

Read More
PreviousPage 1Next