static SubSession() { MyFlagProperty = DataPropertyDescriptor <bool> .Register("MyFlag", typeof(SubSession)); DoSubActionOperation = OperationDescriptor.Register("DoSubAction", typeof(SubSession)); DoOtherSubActionOperation = OperationDescriptor.Register("DoOtherSubAction", typeof(SubSession)); OnStaticConstruction(); }
static MainSession() { SampleFlagProperty = DataPropertyDescriptor <bool> .Register("SampleFlag", typeof(MainSession)); IsLoggedInProperty = DataPropertyDescriptor <bool> .Register("IsLoggedIn", typeof(MainSession)); SubSessionProperty = SessionPropertyDescriptor <SubSession> .Register("SubSession", typeof(MainSession)); LoginSessionProperty = SessionPropertyDescriptor <LoginSession> .Register("LoginSession", typeof(MainSession)); DoActionOperation = OperationDescriptor.Register("DoAction", typeof(MainSession)); DoOtherActionOperation = OperationDescriptor.Register("DoOtherAction", typeof(MainSession)); LogOutOperation = OperationDescriptor.Register("LogOut", typeof(MainSession)); OnStaticConstruction(); }
static LoginSession() { UserNameProperty = DataPropertyDescriptor <string> .Register("UserName", typeof(LoginSession)); PasswordProperty = DataPropertyDescriptor <string> .Register("Password", typeof(LoginSession)); NewUserNameProperty = DataPropertyDescriptor <string> .Register("NewUserName", typeof(LoginSession)); NewPassword1Property = DataPropertyDescriptor <string> .Register("NewPassword1", typeof(LoginSession)); NewPassword2Property = DataPropertyDescriptor <string> .Register("NewPassword2", typeof(LoginSession)); LoginOperation = OperationDescriptor.Register("Login", typeof(LoginSession)); RegisterOperation = OperationDescriptor.Register("Register", typeof(LoginSession)); OnStaticConstruction(); }
static MyApplicationSession() { SampleFlagProperty = DataPropertyDescriptor <bool> .Register("SampleFlag", typeof(MyApplicationSession)); OnStaticConstruction(); }
static MyGeneratedClass() { SampleFlagProperty = DataPropertyDescriptor <bool> .Register("SampleFlag", typeof(MyGeneratedClass)); OnStaticConstruction(); }