load() 공개 정적인 메소드

public static load ( ) : void
리턴 void
예제 #1
0
 public FeatureStaticIpSetting(IExceptionHandler exceptionhandler)
     : base("StaticIpSetting", "control/feature-static-ip-setting", "xenserver/device/vif", false, exceptionhandler)
 {
     IpSettings.load();
     staticIpSetting = wmisession.GetXenStoreItem("xenserver/device/vif");
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name">Name of the feature </param>
 /// <param name="advertise">Advertise key to xapi</param>
 /// <param name="controlKey">Watch the control key and perform feature when update</param>
 /// <param name="controlmustexist"></param>
 /// <param name="exceptionhandler"></param>
 public FeatureStaticIpSetting(string name, string advertise, string controlKey, bool controlmustexist, IExceptionHandler exceptionhandler)
     : base(name, advertise, controlKey, controlmustexist, exceptionhandler)
 {
     IpSettings.load();
     staticIpSetting = wmisession.GetXenStoreItem(controlKey);
 }