C# Class Scriban.Runtime.ListAccessor

Inheritance: IListAccessor
Show file Open project: lunet-io/scriban

Public Properties

Property Type Description
Default ListAccessor

Public Methods

Method Description
GetLength ( object target ) : int
GetValue ( object target, int index ) : object
SetValue ( object target, int index, object value ) : void

Private Methods

Method Description
ListAccessor ( ) : System.Collections

Method Details

GetLength() public method

public GetLength ( object target ) : int
target object
return int

GetValue() public method

public GetValue ( object target, int index ) : object
target object
index int
return object

SetValue() public method

public SetValue ( object target, int index, object value ) : void
target object
index int
value object
return void

Property Details

Default public static property

public static ListAccessor,Scriban.Runtime Default
return ListAccessor