Microsoft.Bot.Builder.FormFlow.IForm< T > Class Template Referenceabstract

Form definition interface. More...

Public Member Functions

abstract void Localize (IDictionaryEnumerator reader, out IEnumerable< string > missing, out IEnumerable< string > extra)
 Localize all string resources from binary stream. More...
 
abstract void SaveResources (IResourceWriter writer)
 Save all string resources to binary stream for future localization. More...
 

Properties

abstract IFields< T > Fields [get]
 Fields that make up form. More...
 

Detailed Description

Form definition interface.

Template Parameters
TForm state.
Type Constraints
T :class 

Definition at line 47 of file IForm.cs.

Member Function Documentation

abstract void Microsoft.Bot.Builder.FormFlow.IForm< T >.Localize ( IDictionaryEnumerator  reader,
out IEnumerable< string >  missing,
out IEnumerable< string >  extra 
)
pure virtual

Localize all string resources from binary stream.

Parameters
readerWhere to read resources.
missing[out] Any values in the form, but missing from the stream.
extra[out] Any values in the stream, but missing from the form.

When you localize all form string resources will be overridden if present in the stream. Otherwise the value will remain unchanged.

abstract void Microsoft.Bot.Builder.FormFlow.IForm< T >.SaveResources ( IResourceWriter  writer)
pure virtual

Save all string resources to binary stream for future localization.

Parameters
writerWhere to write resources.

Property Documentation

Fields that make up form.

Definition at line 53 of file IForm.cs.


The documentation for this class was generated from the following file: