Esempio n. 1
0
 /// <summary>
 /// Creates a new LazyComponent with the specified name, info and runtime data
 /// </summary>
 /// <param name="name">The name of the component</param>
 /// <param name="info">The ComponentInfo structure</param>
 /// <param name="runtime">The runtime data for the component</param>
 public LazyComponent(string name, ComponentInfo info, IRuntime runtime)
 {
     this.name = name;
     this.info = info;
     this.runtime = runtime;
 }
 /// <summary>
 /// Creates a new RemoteComponent with the specified name, address and info
 /// </summary>
 /// <param name="name">The name of the component</param>
 /// <param name="address">The address of the server managing the component</param>
 /// <param name="info">Information on the component</param>
 public RemoteComponent(string name, string address, ComponentInfo info)
 {
     this.name = name;
     this.address = address;
     this.info = info;
 }