Class BatchAttribute
- Namespace
- TimeCockpit.UI.Common.Version
- Assembly
- TimeCockpit.Data.dll
Attribute class for code batches.
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class BatchAttribute : Attribute, _Attribute
- Inheritance
-
ObjectAttributeBatchAttribute
- Implements
-
_Attribute
- Inherited Members
-
Attribute.GetCustomAttributes(MemberInfo, Type)Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)Attribute.GetCustomAttributes(MemberInfo)Attribute.GetCustomAttributes(MemberInfo, Boolean)Attribute.IsDefined(MemberInfo, Type)Attribute.IsDefined(MemberInfo, Type, Boolean)Attribute.GetCustomAttribute(MemberInfo, Type)Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)Attribute.GetCustomAttributes(ParameterInfo)Attribute.GetCustomAttributes(ParameterInfo, Type)Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)Attribute.GetCustomAttributes(ParameterInfo, Boolean)Attribute.IsDefined(ParameterInfo, Type)Attribute.IsDefined(ParameterInfo, Type, Boolean)Attribute.GetCustomAttribute(ParameterInfo, Type)Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)Attribute.GetCustomAttributes(Module, Type)Attribute.GetCustomAttributes(Module)Attribute.GetCustomAttributes(Module, Boolean)Attribute.GetCustomAttributes(Module, Type, Boolean)Attribute.IsDefined(Module, Type)Attribute.IsDefined(Module, Type, Boolean)Attribute.GetCustomAttribute(Module, Type)Attribute.GetCustomAttribute(Module, Type, Boolean)Attribute.GetCustomAttributes(Assembly, Type)Attribute.GetCustomAttributes(Assembly, Type, Boolean)Attribute.GetCustomAttributes(Assembly)Attribute.GetCustomAttributes(Assembly, Boolean)Attribute.IsDefined(Assembly, Type)Attribute.IsDefined(Assembly, Type, Boolean)Attribute.GetCustomAttribute(Assembly, Type)Attribute.GetCustomAttribute(Assembly, Type, Boolean)Attribute.Equals(Object)Attribute.GetHashCode()Attribute.Match(Object)Attribute.IsDefaultAttribute()Attribute._Attribute.GetTypeInfoCount(UInt32)Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)Attribute.TypeIdObject.ToString()Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetType()Object.MemberwiseClone()
Constructors
BatchAttribute(String, BatchMode, Boolean)
Initializes a new instance of the BatchAttribute class.
public BatchAttribute(string batchGuid, BatchMode mode = BatchMode.Install, bool mandatory = true)
Parameters
batchGuidStringThe guid of the batch.
modeBatchModethe batch mode.
mandatoryBooleanTrue if the batch is mandatory, false otherwise.
Properties
BatchGuid
Gets the batch guid.
public Guid BatchGuid { get; }
Property Value
- Guid
BatchMode
Gets the batch mode for the batch.
public BatchMode BatchMode { get; }
Property Value
Mandatory
Gets a value indicating whether the batch is mandatory or not.
public bool Mandatory { get; }
Property Value
- Boolean