Given a file extension, try suggest a name
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function SuggestName( _
ByVal ext As String, _
ByVal supplied_data As String, _
ByVal folder_id As EntityID, _
ByVal user_id As EntityID, _
ByVal increment_counter As Boolean, _
ByVal rule_ids As List(Of EntityID), _
ByVal db As IDatabase _
) As String
This language is not supported or no code example is available.
Parameters
- ext
-
Type: string
the extension
- supplied_data
-
Type: string
the supplied data
- folder_id
-
Type: EntityID
the folder id
- user_id
-
Type: EntityID
the user id
- increment_counter
-
Type: bool
whether to increment the counter if the suggestion ends up being a rule that contains a counter
- rule_ids
-
Type: List<EntityID>
the rule id's to check against, or leave null to check against all possible rules for this file
- db
-
Type: IDatabase
the db db
Return Value
Type: stringthe result