C# Class SIL.FieldWorks.FDO.DomainImpl.CmTranslationFactory

Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
Create ( ILexExampleSentence owner, ICmPossibility translationType ) : ICmTranslation

Create a well-formed ICmTranslation which has the owner and Type property set.

Create ( IStTxtPara owner, ICmPossibility translationType ) : ICmTranslation

Create a well-formed ICmTranslation which has the owner and Type property set.

Private Methods

Method Description
Create ( ICollection owningVector, ICmPossibility translationType ) : ICmTranslation

Do the real work for both smart Create methods.

Method Details

Create() public method

Create a well-formed ICmTranslation which has the owner and Type property set.
public Create ( ILexExampleSentence owner, ICmPossibility translationType ) : ICmTranslation
owner ILexExampleSentence
translationType ICmPossibility
return ICmTranslation

Create() public method

Create a well-formed ICmTranslation which has the owner and Type property set.
public Create ( IStTxtPara owner, ICmPossibility translationType ) : ICmTranslation
owner IStTxtPara
translationType ICmPossibility
return ICmTranslation