C# 클래스 Scriban.Helpers.ArrayFunctions

Array functions available through the object 'array' in scriban.
파일 보기 프로젝트 열기: lunet-io/scriban 1 사용 예제들

공개 메소드들

메소드 설명
Add ( object value, IList list ) : IList
AddRange ( IEnumerable iterator, IList list ) : IList
First ( IEnumerable iterator ) : object
InsertAt ( int index, object value, IList list ) : IList
Join ( string delimiter, IEnumerable enumerable ) : string
Last ( IEnumerable iterator ) : object
RemoveAt ( int index, IList list ) : IList
Reverse ( IEnumerable iterator ) : IEnumerable
Size ( IEnumerable list ) : int
Uniq ( IEnumerable iterator ) : IEnumerable

비공개 메소드들

메소드 설명
Map ( TemplateContext context, object input, string member ) : IEnumerable
Map ( TemplateContext context, ScriptNode callerContext, ScriptArray parameters ) : object
Register ( ScriptObject builtins ) : void
Sort ( TemplateContext context, object input, string member = null ) : IEnumerable
Sort ( TemplateContext context, ScriptNode callerContext, ScriptArray parameters ) : object

메소드 상세

Add() 공개 정적인 메소드

public static Add ( object value, IList list ) : IList
value object
list IList
리턴 IList

AddRange() 공개 정적인 메소드

public static AddRange ( IEnumerable iterator, IList list ) : IList
iterator IEnumerable
list IList
리턴 IList

First() 공개 정적인 메소드

public static First ( IEnumerable iterator ) : object
iterator IEnumerable
리턴 object

InsertAt() 공개 정적인 메소드

public static InsertAt ( int index, object value, IList list ) : IList
index int
value object
list IList
리턴 IList

Join() 공개 정적인 메소드

public static Join ( string delimiter, IEnumerable enumerable ) : string
delimiter string
enumerable IEnumerable
리턴 string

Last() 공개 정적인 메소드

public static Last ( IEnumerable iterator ) : object
iterator IEnumerable
리턴 object

RemoveAt() 공개 정적인 메소드

public static RemoveAt ( int index, IList list ) : IList
index int
list IList
리턴 IList

Reverse() 공개 정적인 메소드

public static Reverse ( IEnumerable iterator ) : IEnumerable
iterator IEnumerable
리턴 IEnumerable

Size() 공개 정적인 메소드

public static Size ( IEnumerable list ) : int
list IEnumerable
리턴 int

Uniq() 공개 정적인 메소드

public static Uniq ( IEnumerable iterator ) : IEnumerable
iterator IEnumerable
리턴 IEnumerable