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()
        {
            return 0;
        }
    }
}
PHPCopy Code
<?php
namespace System;
namespace ZennoLab\CommandCenter;
 
[Export]
class Program implements IZennoCustomCode
{
    public function ExecuteCode()
    {
        return 0;
    }
}
?>

Requirements

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

See Also

© 2012 All Rights Reserved.