Esempio n. 1
0
 public ServiceAttribute(
     Type registerFrom,
     ServiceBehaviour behaviour = ServiceBehaviour.NewInstance,
     ServiceScope scope = ServiceScope.Web,
     ServiceEnvironemnt environemnt = ServiceEnvironemnt.Anywhere,
     bool addInterfaceInterceptor = false)
     : base(registerFrom, behaviour, scope, environemnt, addInterfaceInterceptor)
 {
 }
 protected ServiceContextAttribute(
     Type registerFrom,
     ServiceBehaviour behaviour = ServiceBehaviour.NewInstance,
     ServiceScope scope = ServiceScope.Web,
     ServiceEnvironemnt environemnt = ServiceEnvironemnt.Anywhere,
     bool addInterfaceInterceptor = false)
 {
     this.RegisterFrom = registerFrom;
     this.Behaviour = behaviour;
     this.Scope = scope;
     this.AddInterfaceInterceptor = addInterfaceInterceptor;
     this.Environment = environemnt;
 }