Class ServiceProviderTypeDescriptor
Inheritance
System.Object
ServiceProviderTypeDescriptor
Assembly: OpenMod.Core.dll
Syntax
public class ServiceProviderTypeDescriptor : ITypeDescriptorContext
Constructors
|
Improve this Doc
View Source
ServiceProviderTypeDescriptor(IServiceProvider)
Declaration
public ServiceProviderTypeDescriptor(IServiceProvider serviceProvider)
Parameters
Type |
Name |
Description |
IServiceProvider |
serviceProvider |
|
Properties
|
Improve this Doc
View Source
Container
Declaration
public IContainer? Container { get; set; }
Property Value
Type |
Description |
System.Nullable<IContainer> |
|
|
Improve this Doc
View Source
Instance
Declaration
public object? Instance { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Object> |
|
|
Improve this Doc
View Source
PropertyDescriptor
Declaration
public PropertyDescriptor? PropertyDescriptor { get; }
Property Value
Type |
Description |
System.Nullable<PropertyDescriptor> |
|
|
Improve this Doc
View Source
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type |
Description |
IServiceProvider |
|
Methods
|
Improve this Doc
View Source
GetService(Type)
Declaration
public object GetService(Type serviceType)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
OnComponentChanged()
Declaration
public void OnComponentChanged()
|
Improve this Doc
View Source
OnComponentChanging()
Declaration
public bool OnComponentChanging()
Returns
Type |
Description |
System.Boolean |
|
Extension Methods