init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
|
||||
namespace Kreta.Framework.Caching.DictionaryItemTables
|
||||
{
|
||||
/// <summary>
|
||||
/// Kódtétel osztály.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class ErtekelesModDictionaryItem : DictionaryItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Az osztály konstruktora.
|
||||
/// </summary>
|
||||
/// <param name="dictionaryItem">Kódtétel elem</param>
|
||||
public ErtekelesModDictionaryItem(DictionaryItem dictionaryItem) : base(dictionaryItem)
|
||||
{
|
||||
ExtendedProperties = dictionaryItem.ExtendedProperties;
|
||||
}
|
||||
|
||||
#region Properties
|
||||
|
||||
/// <summary>
|
||||
/// Félkövér-e az értékelés mód?
|
||||
/// </summary>
|
||||
public bool IsBold => (bool)ExtendedProperties[nameof(IsBold)];
|
||||
|
||||
/// <summary>
|
||||
/// Az értékelés mód számonkérés korlátozott-e?
|
||||
/// </summary>
|
||||
public bool IsSzamonkeresKorlatozott => (bool)ExtendedProperties[nameof(IsSzamonkeresKorlatozott)];
|
||||
|
||||
/// <summary>
|
||||
/// Az értékelés mód súlyozása
|
||||
/// </summary>
|
||||
public int Suly => (int)ExtendedProperties[nameof(Suly)];
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue