Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LicenseContext.cs
Go to the documentation of this file.
1
using
System.Reflection
;
2
3
namespace
System.ComponentModel
;
4
5
public
class
LicenseContext
:
IServiceProvider
6
{
7
public
virtual
LicenseUsageMode
UsageMode
=>
LicenseUsageMode
.Runtime;
8
9
public
virtual
string
?
GetSavedLicenseKey
(
Type
type
,
Assembly
? resourceAssembly)
10
{
11
return
null
;
12
}
13
14
public
virtual
object
?
GetService
(
Type
type
)
15
{
16
return
null
;
17
}
18
19
public
virtual
void
SetSavedLicenseKey
(
Type
type
,
string
key
)
20
{
21
}
22
}
System.ComponentModel.LicenseContext.UsageMode
virtual LicenseUsageMode UsageMode
Definition
LicenseContext.cs:7
System.ComponentModel.LicenseContext.GetService
virtual ? object GetService(Type type)
Definition
LicenseContext.cs:14
System.ComponentModel.LicenseContext.SetSavedLicenseKey
virtual void SetSavedLicenseKey(Type type, string key)
Definition
LicenseContext.cs:19
System.ComponentModel.LicenseContext.GetSavedLicenseKey
virtual ? string GetSavedLicenseKey(Type type, Assembly? resourceAssembly)
Definition
LicenseContext.cs:9
System.ComponentModel.LicenseContext
Definition
LicenseContext.cs:6
System.Reflection.Assembly
Definition
Assembly.cs:16
System.Type
Definition
Type.cs:14
System.IServiceProvider
Definition
IServiceProvider.cs:4
System.ComponentModel.LicenseUsageMode
LicenseUsageMode
Definition
LicenseUsageMode.cs:4
System.ComponentModel
Definition
ColumnAttribute.cs:3
System.Reflection
Definition
ICustomTypeProvider.cs:1
System.ExceptionArgument.key
@ key
System.ExceptionArgument.type
@ type
source
System.ComponentModel.TypeConverter
System.ComponentModel
LicenseContext.cs
Generated by
1.10.0