IndexLoopToString Method (String) |
Namespace: HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework
[PublicAPIAttribute] public string ToString( [NotNullAttribute] string format )
Exception | Condition |
---|---|
ArgumentException | Format are null or empty. |
Use «%min%» for Min value.
Use «%max%» for Max value.
Use «%index%» for current index in loop.
Use «%current%» for Current value.
Use «%count%» for indices count value.
public string GetIndexToCountRepresentation(IndexLoop loop) { return loop.ToString("%index%/%count%"); }