Changeset 352 for trunk/bin/SubOperation


Ignore:
Timestamp:
Oct 4, 2007, 2:50:09 AM (17 years ago)
Author:
dai
Message:

System.Collections.Generic.List.RemoveAtメソッドを追加
デリゲート型に対する"-"演算子を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/SubOperation/templates/delegate_class.tab

    r342 r352  
    77        End Sub
    88        Sub #name#( dg As #name# )
    9             Add( dg )
     9            _Add( dg )
    1010        End Sub
    1111
     
    2424        #call_method_end#
    2525
    26         Sub Add( dg As #name# )
    27             _Add( dg )
    28         End Sub
    29 
    3026        Function Operator+ ( dg As #name# ) As #name#
    3127            Dim result = New #name#( This )
    3228            result._Add( dg )
     29            Return result
     30        End Function
     31
     32        Function Operator- ( dg As #name# ) As #name#
     33            Dim result = New #name#( This )
     34            result._Delete( dg )
    3335            Return result
    3436        End Function
Note: See TracChangeset for help on using the changeset viewer.