ZennoLab Assemblies Documentation
IZennoCustomCode Interface
Members  Example  See Also  Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace : IZennoCustomCode Interface

Glossary Item Box

Defines methods that allow you to run execution of code in ZennoPoster

Syntax

C# 
public interface IZennoCustomCode 

Example

The following example demonstrates the implementation of IZennoCucstomCode
C#Copy Code
using System;
using ZennoLab.CommandCenter;
 
namespace ZennoCustomCode
{
    class Program : IZennoCustomCode
    {
        public int ExecuteCode(Instance instance, IZennoPosterProjectModel project)
        { 
            return 0;
        }
    }
}
PHPCopy Code
<?php
use System;
use ZennoLab\CommandCenter;
 
[Export]
class Program implements IZennoCustomCode
{
    public function ExecuteCode($instance, $project)
    {
        return 0;
    }
}
?>

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2014 All Rights Reserved.