Class ObsoleteFunctionAttribute
Inheritance
ObsoleteFunctionAttribute
Assembly: Xareus.Scenarios.Unity.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = false)]
public sealed class ObsoleteFunctionAttribute : Attribute
Constructors
ObsoleteFunctionAttribute(string)
Declaration
public ObsoleteFunctionAttribute(string message)
Parameters
Type |
Name |
Description |
string |
message |
|
ObsoleteFunctionAttribute(string, Type, Type, string)
Declaration
public ObsoleteFunctionAttribute(string message, Type replacementType, Type currentType, string parameterConversionFunctionName)
Parameters
Type |
Name |
Description |
string |
message |
|
Type |
replacementType |
|
Type |
currentType |
|
string |
parameterConversionFunctionName |
the parameter conversion funtion name, in the form "namespace.type:function"
|
Properties
Message
Declaration
public string Message { get; }
Property Value
ParameterConversionFunction
Declaration
public ObsoleteFunctionAttribute.ParameterConvesion ParameterConversionFunction { get; }
Property Value
ReplacementType
Declaration
public Type ReplacementType { get; }
Property Value