Exemple #1
0
        public static void BaseOnPostDerive(this CommunicationEvent @this, ObjectOnPostDerive method)
        {
            var session = @this.Strategy.Session;

            @this.AddSecurityToken(new SecurityTokens(session).DefaultSecurityToken);
            @this.AddSecurityToken(@this.Owner?.OwnerSecurityToken);
        }
 public static void AppsOnPostDerive(this CommunicationEvent @this, ObjectOnPostDerive method)
 {
     @this.AddSecurityToken(@this.Strategy.Session.GetSingleton().DefaultSecurityToken);
     @this.AddSecurityToken(@this.Owner?.OwnerSecurityToken);
 }