Пример #1
0
    } //TestBasic::Reuse()

    public TestBasic Copy(TestBasic from_)
    {
        if (null == from_ || this == from_) {
            return this;
        }
        this.numberI08 = from_.numberI08;
        this.numberI16 = from_.numberI16;
        this.numberI32 = from_.numberI32;
        this.numberI64 = from_.numberI64;
        this.numberU08 = from_.numberU08;
        this.numberU16 = from_.numberU16;
        this.numberU32 = from_.numberU32;
        this.numberU64 = from_.numberU64;
        this.numberSingle = from_.numberSingle;
        this.numberDouble = from_.numberDouble;
        this.boolValue = from_.boolValue;
        this.stringValue = from_.stringValue;
        this.enumValue = from_.enumValue;
        this.enumDeft = from_.enumDeft;
        return this;
    } //TestBasic::Copy(...)
Пример #2
0
 public Custom SetTest_(TestBasic value) { this.test_ = value; return this; }