コード例 #1
0
        internal SLNumberDataSourceType Clone()
        {
            var ndst = new SLNumberDataSourceType();

            ndst.bUseNumberReference = bUseNumberReference;
            ndst.NumberReference     = NumberReference.Clone();
            ndst.bUseNumberLiteral   = bUseNumberLiteral;
            ndst.NumberLiteral       = NumberLiteral.Clone();

            return(ndst);
        }
コード例 #2
0
        internal SLAxisDataSourceType Clone()
        {
            var adst = new SLAxisDataSourceType();

            adst.bUseMultiLevelStringReference = bUseMultiLevelStringReference;
            adst.bUseNumberLiteral             = bUseNumberLiteral;
            adst.bUseNumberReference           = bUseNumberReference;
            adst.bUseStringLiteral             = bUseStringLiteral;
            adst.bUseStringReference           = bUseStringReference;

            adst.MultiLevelStringReference = MultiLevelStringReference.Clone();
            adst.NumberLiteral             = NumberLiteral.Clone();
            adst.NumberReference           = NumberReference.Clone();
            adst.StringLiteral             = StringLiteral.Clone();
            adst.StringReference           = StringReference.Clone();

            return(adst);
        }