mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-12 03:22:32 +02:00
20 lines
654 B
C#
20 lines
654 B
C#
/*
|
|
* GNU AFFERO GENERAL PUBLIC LICENSE
|
|
* Version 3, 19 November 2007
|
|
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
* of this license document, but changing it is not allowed.
|
|
*/
|
|
namespace UVtools.Core.Operations
|
|
{
|
|
public class Operation
|
|
{
|
|
const byte ClassNameLength = 9;
|
|
|
|
/// <summary>
|
|
/// Gets the ID name of this operation, this comes from class name with "Operation" removed
|
|
/// </summary>
|
|
public string Id => GetType().Name.Remove(0, ClassNameLength);
|
|
}
|
|
}
|