コード例 #1
0
        //C++ TO C# CONVERTER TODO TASK: 'rvalue references' have no equivalent in C#:
        //C++ TO C# CONVERTER TODO TASK: The = operator cannot be overloaded in C#:
        //public static StyledRuns operator = (StyledRuns && other)
        //{
        //    styles_.Swap(other.styles_);
        //    runs_.Swap(other.runs_);
        //    return this;
        //}

        public void swap(StyledRuns other)
        {
            styles_.Swap(other.styles_);
            runs_.Swap(other.runs_);
        }
コード例 #2
0
        //C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
        //  StyledRuns();

        //C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
        //  public void Dispose();

        //C++ TO C# CONVERTER TODO TASK: C# has no equivalent to ' = delete':
        //  StyledRuns(const StyledRuns& other) = delete;

        //C++ TO C# CONVERTER TODO TASK: 'rvalue references' have no equivalent in C#:
        public StyledRuns(StyledRuns other)
        {
            styles_.Swap(other.styles_);
            runs_.Swap(other.runs_);
        }