Entities: Use 'required' and '= null!' to get rid of warnings
This commit is contained in:
@ -62,8 +62,8 @@ namespace Elwig.Helpers.Billing {
|
||||
|
||||
public Varibute(RawVaribute raw) :
|
||||
this(raw.SortId != null ? new WineVar(raw.SortId, raw.SortId) : null,
|
||||
raw.AttrId != null ? new WineAttr(raw.AttrId, raw.AttrId) : null,
|
||||
raw.CultId != null ? new WineCult(raw.CultId, raw.CultId) : null) {
|
||||
raw.AttrId != null ? new WineAttr() { AttrId = raw.AttrId, Name = raw.AttrId } : null,
|
||||
raw.CultId != null ? new WineCult() { CultId = raw.CultId, Name = raw.CultId } : null) {
|
||||
}
|
||||
|
||||
public Varibute(RawVaribute raw, Dictionary<string, WineVar> vars, Dictionary<string, WineAttr> attrs, Dictionary<string, WineCult> cults) :
|
||||
|
Reference in New Issue
Block a user