Class RunAttribute
Decorates methods of classes that can be run
Inheritance
System.Object
System.Attribute
RunAttribute
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Scripting
Assembly: Azos.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class RunAttribute : CategorizedRunnableAttribute
Constructors
RunAttribute()
Declaration
public RunAttribute()
RunAttribute(Int32)
Declaration
public RunAttribute(int order)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | order |
RunAttribute(Int32, String)
Declaration
public RunAttribute(int order, string config)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | order | |
System.String | config |
RunAttribute(String)
Declaration
public RunAttribute(string config)
Parameters
Type | Name | Description |
---|---|---|
System.String | config |
RunAttribute(String, Int32, String)
Declaration
public RunAttribute(string name, int order, string config)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | order | |
System.String | config |
RunAttribute(String, String)
Declaration
public RunAttribute(string name, string config)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | config |
RunAttribute(String, String, Int32, String)
Declaration
public RunAttribute(string category, string name, int order, string config = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | category | |
System.String | name | |
System.Int32 | order | |
System.String | config |
Fields
ExplicitName
Indicates that the run case name was supplied with '!' switch- the case will run ONLY when explicitly specified in the runner
Declaration
public readonly bool ExplicitName
Field Value
Type | Description |
---|---|
System.Boolean |
Name
Provides an alternate name for the method run case
Declaration
public readonly string Name
Field Value
Type | Description |
---|---|
System.String |