public MyAspectRatioEx(bool isTripleHead, MyAspectRatioEnum aspectRatioEnum, float aspectRatioNumber, MyTextsWrapperEnum textLong, MyTextsWrapperEnum textShort) { IsTripleHead = isTripleHead; AspectRatioEnum = aspectRatioEnum; AspectRatioNumber = aspectRatioNumber; TextLong = textLong; TextShort = textShort; }
public MyAspectRatio(bool isTripleHead, MyAspectRatioEnum aspectRatioEnum, float aspectRatioNumber, string textShort, bool isSupported) { IsTripleHead = isTripleHead; AspectRatioEnum = aspectRatioEnum; AspectRatioNumber = aspectRatioNumber; TextShort = textShort; IsSupported = isSupported; }
public static MyAspectRatioEx Get(MyAspectRatioEnum aspectRatioEnum) { return List[(int)aspectRatioEnum]; }
static void Add(bool isTripleHead, MyAspectRatioEnum aspectRatioEnum, float aspectRatioNumber, MyTextsWrapperEnum textLong, MyTextsWrapperEnum textShort) { List[(int)aspectRatioEnum] = new MyAspectRatioEx(isTripleHead, aspectRatioEnum, aspectRatioNumber, textLong, textShort); }