Show / Hide Table of Contents

Class Script

The payroll script client object

Inheritance
object
ModelBase
Script
Implements
IScript
IModel
IKeyEquatable<IScript>
IEquatable<IScript>
INameObject
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class Script : ModelBase, IScript, IModel, IKeyEquatable<IScript>, IEquatable<IScript>, INameObject

Constructors

Script()

Initializes a new instance

Declaration
public Script()

Script(Script)

Initializes a new instance from a copy

Declaration
public Script(Script copySource)
Parameters
Type Name Description
Script copySource

The copy source

Properties

FunctionTypes

The scripting function types

Declaration
[JsonPropertyOrder(101)]
public List<FunctionType> FunctionTypes { get; set; }
Property Value
Type Description
List<FunctionType>

Name

The script name

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Name { get; set; }
Property Value
Type Description
string

OverrideType

The override type

Declaration
[JsonPropertyOrder(104)]
public OverrideType OverrideType { get; set; }
Property Value
Type Description
OverrideType

Value

The script content

Declaration
[JsonPropertyOrder(102)]
public string Value { get; set; }
Property Value
Type Description
string

ValueFile

The script file name

Declaration
[JsonPropertyOrder(103)]
public string ValueFile { get; set; }
Property Value
Type Description
string

Methods

EqualKey(IScript)

Test for the same item key

Declaration
public virtual bool EqualKey(IScript compare)
Parameters
Type Name Description
IScript compare
Returns
Type Description
bool

Equals(IScript)

Declaration
public virtual bool Equals(IScript compare)
Parameters
Type Name Description
IScript compare
Returns
Type Description
bool

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

IScript
IModel
IKeyEquatable<T>
IEquatable<T>
INameObject

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX