Root / Assembly / ARCDoc / Class / Orange

ClassAttribute

Orange

KeyValue
_MemberName, Storage
AssemblyNameARCDoc
BaseTypes-ARCCore.PExact`1[ARCDoc.OrangeP]-
BoilerplateCodeProperties// Autogenerated boilerplate code. Generated at 2020-10-13 11:10:15.885 UTC.

public String Name{
get => IP.GetPV<String>(OrangeP.Name);
set => IP.SetPV(OrangeP.Name, value);
}
public AddName(String name) => IP.AddPV(OrangeP.Name, name);
public String? GetName() => TryGetName(out var retval) ? retval : null;
public String GetName(String defaultValue) => TryGetName(out var retval) ? retval : defaultValue;
public bool TryGetName(out String name) => IP.TryGetPV(OrangeP.Name, out name);


public ConsoleColor Colour{
get => IP.GetPV<ConsoleColor>(OrangeP.Colour);
set => IP.SetPV(OrangeP.Colour, value);
}
public AddColour(ConsoleColor colour) => IP.AddPV(OrangeP.Colour, colour);
public ConsoleColor? GetColour() => TryGetColour(out var retval) ? retval : null;
public ConsoleColor GetColour(ConsoleColor defaultValue) => TryGetColour(out var retval) ? retval : defaultValue;
public bool TryGetColour(out ConsoleColor colour) => IP.TryGetPV(OrangeP.Colour, out colour);


ClassTypeARCDoc.Orange
CorrespondingEnumTypeARCDoc.OrangeP
DescriptionDemonstrates use of PExact<EnumType>.
InterfacesARCCore.IP; -System.Collections.Generic.IEnumerable`1[ARCCore.IKIP]-; -System.Collections.IEnumerable-
LongDescriptionSee also Banana which implements IP directly and uses traditional storage for less memory consumption, and Apple, a 'standard' AgoRapide entity class.

9 items


Generated 2020-10-13 11:11:06.696 UTC