Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public void ApplicationStartAfterInit(IApplication application)
 {
     CloudSystem.AutoStart();
 }
Exemplo n.º 3
0
 public CloudTemplate(CloudSystem system, IConfigSectionNode node)
 {
     Configure(node);
 }
Exemplo n.º 4
0
 public static TTemplate Make <TTemplate>(CloudSystem system, IConfigSectionNode node)
     where TTemplate : CloudTemplate
 {
     return(FactoryUtils.MakeAndConfigure <TTemplate>(node, typeof(TTemplate), args: new object[] { system }));
 }
Exemplo n.º 5
0
 public CloudTemplate(CloudSystem system)
 {
 }