C# Class j64.Harmony.Web.Repository.SmartAppRepository

Afficher le fichier Open project: joejarvis64/j64.Harmony Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string newCode ) : Task
CreateOrReplace ( string appName, string fileName ) : Task
EnableOauth ( ) : Task
Find ( string smartAppName ) : Task
Publish ( ) : Task
SmartAppRepository ( SmartThingsConnection smartThingsConnection ) : System
SmartAppRepository ( SmartThingsConnection smartThingsConnection, string appName, string fileName ) : System
Update ( string newCode ) : Task

Private Methods

Méthode Description
FindVarInSrc ( string varname ) : string

Method Details

Create() public méthode

public Create ( string newCode ) : Task
newCode string
Résultat Task

CreateOrReplace() public méthode

public CreateOrReplace ( string appName, string fileName ) : Task
appName string
fileName string
Résultat Task

EnableOauth() public méthode

public EnableOauth ( ) : Task
Résultat Task

Find() public méthode

public Find ( string smartAppName ) : Task
smartAppName string
Résultat Task

Publish() public méthode

public Publish ( ) : Task
Résultat Task

SmartAppRepository() public méthode

public SmartAppRepository ( SmartThingsConnection smartThingsConnection ) : System
smartThingsConnection SmartThingsConnection
Résultat System

SmartAppRepository() public méthode

public SmartAppRepository ( SmartThingsConnection smartThingsConnection, string appName, string fileName ) : System
smartThingsConnection SmartThingsConnection
appName string
fileName string
Résultat System

Update() public méthode

public Update ( string newCode ) : Task
newCode string
Résultat Task