Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-503

Support VB-like parameterized property procedures in SpEL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1 P3
    • Fix Version/s: 1.1 M2
    • Component/s: Spring-NET-CORE
    • Labels:
      None

      Description

      In VB it is possible to pass additional parameters to property setter/getter (copied from MSDN):
      "
      The syntax for declaring a property and its procedures is as follows:

      [Default] [modifiers] Property propertyname[(parameterlist)] As datatype
      [accesslevel] Get
      ' Statements of the Get procedure.
      ' The following statement returns expression as the property's value.
      Return expression
      End Get
      [accesslevel] Set[(ByVal newvalue As datatype)]
      ' Statements of the Set procedure.
      ' The following statement assigns newvalue as the property's value.
      lvalue = newvalue
      End Set
      End Property

      "

        Attachments

          Activity

            People

            Assignee:
            aseovic Aleksandar Seovic
            Reporter:
            oakinger Erich Eichinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: