OutSystems Forge 日本語データベース

String Dictionary

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2016-11-27 1.0.0 Ian Johnstone 10.0.201.0 All .NET Components, Libraries
この.Net拡張では、値がText属性に保持されているディクショナリを実装します。
この.NET拡張はList <KeyValuePair <string、string >>を実装しますが、キーは一意でなければならないため、ディクショナリのように動作します。ディクショナリの値はテキストフィールドに保持され、各アクションはテキストフィールドを取り込み、アクションを処理し、修正テキストフィールドを返します。 区切り文字を使用してテキストフィールドを分割します。例えば: 1〜10 @ False | 8〜0 @ False | 11〜0 @ False | 2〜15 @ False | 5〜0 @ False | 3〜0 @ False |エントリを分割する エントリ内で、〜は値からキーを分割します 値の中で、@は個々の値を分割します 21の機能とアクションを実装します。 DictionaryNew - 新しいディクショナリを表す文字列を作成します。 (また ""も動作します。)実装バージョンに対する将来の互換性のために存在します。 DictionaryAdd - ディクショナリにキーを追加します。キーがすでに存在する場合は、値が更新されます。 DictionaryCount - ディクショナリのエントリ数を数えます。 DictionaryFindByValue - 値と一致する最初のエントリのインデックスを検索します。見つからなければ-1を返します。 DictionaryFindKey - キーと一致する最初のエントリのインデックスを検索します。見つからなければ-1を返します。 DictionaryGetByIndex - 指定されたインデックスの値を取得するか、indexがディクショナリにない場合は値を取得します。 DictionaryGetByKey - 指定されたキーの値を取得します。キーがディクショナリにない場合は ""を取得します。 DictionaryRemoveByIndex - INDEXで見つかったディクショナリインデックスのエントリを削除します。 DictionaryIn = DictionaryOutがIndexの外側にある場合はDictionary内にありません。 DictionaryRemoveByKey - ディクショナリからエントリを削除します。 DictionaryIn = Keyが見つからない場合はDictionaryOut。 DictionaryReplaceByIndex - ディクショナリ内のエントリをそのインデックスで置き換えます。インデックスが0より小さいか、長さより大きい場合、DictionaryIn = DictionayOut DictionaryReplaceByKey - INDEXで見つかったディクショナリインデックスの値を置き換えます。 DictionaryIn =キーが見つからない場合はDictionaryOut。 DictionarySortByKey - キーに従ってディクショナリをソートします。 DictionarySortByValue - 値に従ってディクショナリをソートします。 DictionaryMakeValue# - #(2-5)の部分を@を使用して区切ってディクショナリの値にアセンブルします DictionarySplitValue# - デリミタとして@を使用してディクショナリの値を#(2-5)部分に分割します。。

[Overview]
This .Net only extension implements a dictionary whose values are persisted in a Text attribute.
[Detail]
This .Net only extension implements a List<KeyValuePair<string,string>> but operates more like a dictionary, because the keys have to be unique. The value of the dictionary is maintained in a text field, and each action takes in the text field, processes your action, and returns a revised text field. It uses delimiters to split up the text field. For example: 1~10@False|8~0@False|11~0@False|2~15@False|5~0@False|3~0@False | splits up entries Within an entry, ~ splits the key from the value Within a value, @ splits individual values Implements 21 functions and actions: DictionaryNew - Creates a string that represents a new dictionary. (Or "" works too.) Exists for future compatibility for revisions to the implementation. DictionaryAdd - Adds a key to the dictionary. If the key already exists, the value is updated. DictionaryCount - Counts the number of entries in the dictionary DictionaryFindByValue - Finds the index of the first entry matching the value. -1 if not found. DictionaryFindKey - Finds the index of the first entry matching the key. -1 if not found. DictionaryGetByIndex - Gets the value at the given index or "" if index isn't in the dictionary. DictionaryGetByKey - Gets the value for the given key or "" if key isn't in the dictionary. DictionaryRemoveByIndex - Removes the entry for the dictionary index found at the INDEX. DictionaryIn = DictionaryOut if Index is outside isn't inside the dictionary. DictionaryRemoveByKey - Removes a entry from the dictionary. DictionaryIn = DictionaryOut if Key is not found. DictionaryReplaceByIndex - Replaces an entry in the dictionary by it's index. If the index < 0 or greater than the length, DictionaryIn = DictionayOut DictionaryReplaceByKey - Replaces the value for the dictionary index found at the INDEX. DictionaryIn = DictionaryOut if key is not found. DictionarySortByKey - Sorts the dictionary according to the key DictionarySortByValue - Sorts the dictionary according to the value DictionaryMakeValue# - Assembles # (2-5) parts into a dictionary value using @ to separate them DictionarySplitValue# - Splits a dictionary value into # (2-5) parts using @ as the delimiter.
戻る