Пример #1
0
 /// <summary>
 /// Create a new PluginInfo object.
 /// </summary>
 /// <param name="pluginID">Initial value of the PluginID property.</param>
 /// <param name="triggerID">Initial value of the TriggerID property.</param>
 /// <param name="hostAdress">Initial value of the HostAdress property.</param>
 /// <param name="classname">Initial value of the Classname property.</param>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="assembly">Initial value of the Assembly property.</param>
 public static PluginInfo CreatePluginInfo(global::System.Int32 pluginID, global::System.Int32 triggerID, global::System.String hostAdress, global::System.String classname, global::System.Int32 id, global::System.String assembly)
 {
     PluginInfo pluginInfo = new PluginInfo();
     pluginInfo.PluginID = pluginID;
     pluginInfo.TriggerID = triggerID;
     pluginInfo.HostAdress = hostAdress;
     pluginInfo.Classname = classname;
     pluginInfo.ID = id;
     pluginInfo.Assembly = assembly;
     return pluginInfo;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PluginInfo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPluginInfo(PluginInfo pluginInfo)
 {
     base.AddObject("PluginInfo", pluginInfo);
 }