Free cookie consent management tool by TermsFeed Policy Generator

Changeset 7271


Ignore:
Timestamp:
01/04/12 17:14:50 (13 years ago)
Author:
abeham
Message:

#1722: updated parameter snippets to use interface type in property

Location:
trunk/tools/HL3Snippets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/HL3Snippets/HL3.DefineParameter.snippet

    r4761 r7271  
    5555        </Literal>
    5656      </Declarations>
    57       <Code Language="csharp" Kind="" Delimiter="$"><![CDATA[$ParameterVisibility$ $ParameterType$Parameter<$ParameterDataType$> $ParameterName$Parameter {
    58   get { return ($ParameterType$Parameter<$ParameterDataType$>)Parameters["$ParameterName$"]; }
     57      <Code Language="csharp" Kind="" Delimiter="$"><![CDATA[$ParameterVisibility$ I$ParameterType$Parameter<$ParameterDataType$> $ParameterName$Parameter {
     58  get { return (I$ParameterType$Parameter<$ParameterDataType$>)Parameters["$ParameterName$"]; }
    5959}
    6060// Parameters.Add(new $ParameterType$Parameter<$ParameterDataType$>("$ParameterName$", "$ParameterDescription$"));]]></Code>
  • trunk/tools/HL3Snippets/HL3.ParameterProperty.snippet

    r4761 r7271  
    4646        </Literal>
    4747      </Declarations>
    48       <Code Language="csharp" Kind="" Delimiter="$"><![CDATA[$ParamVisibility$ $ParamType$Parameter<$ParamDataType$> $ParamName$Parameter {
    49   get { return ($ParamType$Parameter<$ParamDataType$>)Parameters["$ParamName$"]; }
     48      <Code Language="csharp" Kind="" Delimiter="$"><![CDATA[$ParamVisibility$ I$ParamType$Parameter<$ParamDataType$> $ParamName$Parameter {
     49  get { return (I$ParamType$Parameter<$ParamDataType$>)Parameters["$ParamName$"]; }
    5050}]]></Code>
    5151    </Snippet>
Note: See TracChangeset for help on using the changeset viewer.