Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
firstline1
titleKimde Beklediğini Hesapla
linenumberstrue
 <SetVariable Name="$(AssignedCount)">
    <GetProperty Member="Length">
      <Value Culture="" Target="None">$(AssignedUsers)</Value>
    </GetProperty>
  </SetVariable>
  <SetVariable Name="$(UserList)">
    <Value Culture="" Target="None" />
  </SetVariable>
  <For Start="0" End="$(AssignedCount)" Iterator="1">
    <SetVariable Name="$(UserList)">
      <StringConcat>
        <Value Culture="" Target="None">$(UserList)</Value>
        <GetProperty Member="Name">
          <Value Culture="" Target="None">$(AssignedUsers)[$(Index)]</Value>
        </GetProperty>
        <Value Culture="" Target="None">;</Value>
      </StringConcat>
    </SetVariable>
  </For>
  <SetVariable Name="$(UserList)">
    <StringTrim TrimChar=";" Direction="Both">
      <Value Culture="" Target="None">$(UserList)</Value>
    </StringTrim>
  </SetVariable>
  <Value Culture="" Target="None">$(UserList)</Value>
Code Block
titleListede aynı veri var validasyonu (Aktifliğe göre)
<Project Name="">
	<SetVariable Name="$(Kod)">
		<Evaluate Target="None" Culture=""><![CDATA[.]]></Evaluate>
	</SetVariable>
	<Greater Equal="False">
		<Count><![CDATA[/*/MasrafYerleri/Data/Template[Kod='$(Kod)' and Aktif='true' and @guid!=/*/MasrafYerleri/Data/@editingRow]]]></Count>
		<Value Culture="" Target="Integer">0</Value>
	</Greater>
</Project>