public static ServiceInstance FromLegacyInstance(Legacy.ServiceInstance legacyInstance, ServiceConfiguration configuration, Profile profile = null) { var serviceInstance = new ServiceInstance() { Configuration = ServiceInstanceConfiguration.FromLegacyConfiguration(legacyInstance, configuration, profile ?? configuration.Profile), LegacyInstance = legacyInstance }; serviceInstance.Configuration.Instance = serviceInstance; return(serviceInstance); }
public SchedulingRequest(ServiceInstance instance, SchedulingRule rule, DateTime requestedTime) : this(instance.Configuration, rule, requestedTime) { }
public ChildServiceEventArgs(ServiceInstance serviceInstance) { }