/// <summary> /// Initializes a new instance of the <see cref="GridActionAttribute"/> class. /// </summary> public GridActionAttribute() { ActionParameterName = "command"; adapterFactory = DI.Current.Resolve <IGridActionResultAdapterFactory>(); resultFactory = DI.Current.Resolve <IGridActionResultFactory>(); }
/// <summary> /// Initializes a new instance of the <see cref="GridActionAttribute"/> class. /// </summary> public GridActionAttribute() { ActionParameterName = "command"; adapterFactory = DependencyResolver.Current.GetService<IGridActionResultAdapterFactory>(); resultFactory = DependencyResolver.Current.GetService<IGridActionResultFactory>(); }
/// <summary> /// Initializes a new instance of the <see cref="GridActionAttribute"/> class. /// </summary> public GridActionAttribute() { ActionParameterName = "command"; adapterFactory = DI.Current.Resolve<IGridActionResultAdapterFactory>(); resultFactory = DI.Current.Resolve<IGridActionResultFactory>(); }