Show / Hide Table of Contents

Class TechVersionInfoDto

Описывает данные информации о версии.

Inheritance
object
TechVersionInfoDto
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Ascon.Vertical.Core.DataModels
Assembly: Ascon.Vertical.Core.dll
Syntax
public class TechVersionInfoDto

Constructors

TechVersionInfoDto()

Создаёт экземпляр класса TechVersionInfoDto.

Declaration
public TechVersionInfoDto()

Properties

Build

Возвращает или назначает номер сборки.

Declaration
[JsonPropertyName("Build")]
public uint Build { get; set; }
Property Value
Type Description
uint

Major

Возвращает или назначает основную версию.

Declaration
[JsonPropertyName("major")]
public uint Major { get; set; }
Property Value
Type Description
uint

Minor

Возвращает или назначает дополнительную версию.

Declaration
[JsonPropertyName("minor")]
public uint Minor { get; set; }
Property Value
Type Description
uint

Patch

Возвращает или назначает номер сервис-пака.

Declaration
[JsonPropertyName("patch")]
public uint Patch { get; set; }
Property Value
Type Description
uint

Methods

Parse(string)

Разбирает строку с информацией о версии.

Declaration
public static TechVersionInfoDto Parse(string data)
Parameters
Type Name Description
string data

Строка с информацией о версии в формате {Major}.{Minor}.{Patch}.{Build}.

Returns
Type Description
TechVersionInfoDto

Экземпляр Ascon.TechVersionInfoDto.

ToString()

Возвращает полное строковое представление версии.

Declaration
public override string ToString()
Returns
Type Description
string

Строковое представление версии.

Overrides
object.ToString()
Back to top Copyright © 2014 - 2026 ООО «АСКОН-Бизнес-решения»