protected CloudSession(CloudSystem cloudSystem, CloudConnectionParameters cParams) { if (cloudSystem == null || cParams == null) { throw new CloudException(StringConsts.ARGUMENT_ERROR + this.GetType().Name + ".ctor((cloudSystem|cParams)=null)"); } CloudSystem = cloudSystem; ConnectionParameters = cParams; lock (CloudSystem.Sessions) CloudSystem.Sessions.Add(this); }
public void ApplicationStartAfterInit(IApplication application) { CloudSystem.AutoStart(); }
public CloudTemplate(CloudSystem system, IConfigSectionNode node) { Configure(node); }
public static TTemplate Make <TTemplate>(CloudSystem system, IConfigSectionNode node) where TTemplate : CloudTemplate { return(FactoryUtils.MakeAndConfigure <TTemplate>(node, typeof(TTemplate), args: new object[] { system })); }
public CloudTemplate(CloudSystem system) { }