Table of Contents

Class DateTimeCodeProvider

Namespace
Dynamicweb.Extensibility.CodeProviders
Assembly
Dynamicweb.dll
[AddInName("Dynamicweb.ICodeProvider")]
[AddInLabel("DateTime Provider")]
[AddInActive(true)]
[AddInGroup("System.DateTime")]
public class DateTimeCodeProvider : CodeProviderBase, ICodeProvider, IDropDownOptions
Inheritance
DateTimeCodeProvider
Implements
Inherited Members

Properties

Interval

[AddInParameter("Interval")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=inputControl")]
[AddInParameterGroup("Source")]
public string Interval { get; set; }

Property Value

string

Number

[AddInParameter("Number")]
[AddInParameterEditor(typeof(IntegerNumberParameterEditor), "inputClass=inputControl")]
[AddInParameterGroup("Source")]
public int Number { get; set; }

Property Value

int

Methods

BuildCodeString()

public override string BuildCodeString()

Returns

string

BuildDisplayValue()

public override string BuildDisplayValue()

Returns

string

Execute()

Executes this instance.
public override object Execute()

Returns

object

GetOptions(string)

Get options for editors with multiple values
public Hashtable GetOptions(string dropdownName)

Parameters

dropdownName string

Returns

Hashtable
To top