コード例 #1
0
ファイル: ServiceAttribute.cs プロジェクト: dixus/Mvc3EFUnity
 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)
 {
 }
コード例 #2
0
 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;
 }