C# Class Scriban.Runtime.ArrayAccessor

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

Public Properties

Property Type Description
Default ArrayAccessor

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
ArrayAccessor ( ) : System

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 ArrayAccessor,Scriban.Runtime Default
return ArrayAccessor