UrlHelperExtensions.Action Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
Action(IUrlHelper) |
Eylem yöntemi için yolu olan bir URL oluşturur. |
Action(IUrlHelper, String) |
Belirtilen |
Action(IUrlHelper, String, Object) |
Belirtilen |
Action(IUrlHelper, String, String) |
Belirtilen |
Action(IUrlHelper, String, String, Object) |
Belirtilen |
Action(IUrlHelper, String, String, Object, String) |
Belirtilen |
Action(IUrlHelper, String, String, Object, String, String) |
Belirtilen |
Action(IUrlHelper, String, String, Object, String, String, String) |
Belirtilen |
Action(IUrlHelper)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Eylem yöntemi için yolu olan bir URL oluşturur.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper -> string
<Extension()>
Public Function Action (helper As IUrlHelper) As String
Parametreler
- helper
- IUrlHelper
Döndürülenler
Oluşturulan URL.
Şunlara uygulanır
Action(IUrlHelper, String)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
adı içeren bir eylem yöntemi için yolu olan bir URL oluşturur.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
Döndürülenler
Oluşturulan URL.
Şunlara uygulanır
Action(IUrlHelper, String, Object)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
adı ve yolu values
içeren bir eylem yöntemi için yolu olan bir URL oluşturur.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::Object ^ values);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action, object values);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action, object? values);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string * obj -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String, values As Object) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
- values
- Object
Yol değerlerini içeren bir nesne.
Döndürülenler
Oluşturulan URL.
Şunlara uygulanır
Action(IUrlHelper, String, String)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
ve controller
adları içeren bir eylem yöntemi için yolu olan bir URL oluşturur.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action, string controller);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action, string? controller);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string * string -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String, controller As String) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
- controller
- String
Denetleyicinin adı.
Döndürülenler
Oluşturulan URL.
Şunlara uygulanır
Action(IUrlHelper, String, String, Object)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
adı, adı controller
ve yolu values
içeren bir eylem yöntemi için yolu olan bir URL oluşturur.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller, System::Object ^ values);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action, string controller, object values);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action, string? controller, object? values);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string * string * obj -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String, controller As String, values As Object) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
- controller
- String
Denetleyicinin adı.
- values
- Object
Yol değerlerini içeren bir nesne.
Döndürülenler
Oluşturulan URL.
Şunlara uygulanır
Action(IUrlHelper, String, String, Object, String)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
adı, adı controller
, yolu values
ve protocol
kullanılacak olan eylem yönteminin yolunu içeren bir URL oluşturur. Önemli güvenlik bilgileri için açıklamalar bölümüne bakın.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller, System::Object ^ values, System::String ^ protocol);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action, string controller, object values, string protocol);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action, string? controller, object? values, string? protocol);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string * string * obj * string -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String, controller As String, values As Object, protocol As String) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
- controller
- String
Denetleyicinin adı.
- values
- Object
Yol değerlerini içeren bir nesne.
- protocol
- String
"http" veya "https" gibi URL protokolü.
Döndürülenler
Oluşturulan URL.
Açıklamalar
Bu yöntem, oluşturulan URI'nin Host konak bölümünü doldurmak için değerini kullanır. Geçerli isteğin değerine güvenmek, üst bilgi doğrulanmadığı sürece güvenilmeyen girişin sonuçta elde edilen URI'yi etkilemesine Host
izin verebilir. Dağıtım ortamınızda üst bilgiyi düzgün bir şekilde doğrulama Host
yönergeleri için dağıtım belgelerine bakın.
Şunlara uygulanır
Action(IUrlHelper, String, String, Object, String, String)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
adı, adı, kullanılacak yolu values
protocol
ve host
adı controller
içeren bir eylem yönteminin yolunu içeren bir URL oluşturur.
ve host
değilsenull
mutlak bir URL protocol
oluşturur. Önemli güvenlik bilgileri için açıklamalar bölümüne bakın.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller, System::Object ^ values, System::String ^ protocol, System::String ^ host);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action, string controller, object values, string protocol, string host);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action, string? controller, object? values, string? protocol, string? host);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string * string * obj * string * string -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String, controller As String, values As Object, protocol As String, host As String) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
- controller
- String
Denetleyicinin adı.
- values
- Object
Yol değerlerini içeren bir nesne.
- protocol
- String
"http" veya "https" gibi URL protokolü.
- host
- String
URL'nin ana bilgisayar adı.
Döndürülenler
Oluşturulan URL.
Açıklamalar
değeri host
güvenilir bir değer olmalıdır. Geçerli isteğin değerine güvenmek, üst bilgi doğrulanmadığı sürece güvenilmeyen girişin sonuçta elde edilen URI'yi etkilemesine Host
izin verebilir. Dağıtım ortamınızda üst bilgiyi düzgün bir şekilde doğrulama Host
yönergeleri için dağıtım belgelerine bakın.
Şunlara uygulanır
Action(IUrlHelper, String, String, Object, String, String, String)
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
- Kaynak:
- UrlHelperExtensions.cs
Belirtilen action
adı, adı, kullanılacak yolu host
values
protocol
, controller
adı ve fragment
öğesini içeren bir eylem yönteminin yolunu içeren bir URL oluşturur.
ve host
değilsenull
mutlak bir URL protocol
oluşturur. Önemli güvenlik bilgileri için açıklamalar bölümüne bakın.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller, System::Object ^ values, System::String ^ protocol, System::String ^ host, System::String ^ fragment);
public static string Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string action, string controller, object values, string protocol, string host, string fragment);
public static string? Action (this Microsoft.AspNetCore.Mvc.IUrlHelper helper, string? action, string? controller, object? values, string? protocol, string? host, string? fragment);
static member Action : Microsoft.AspNetCore.Mvc.IUrlHelper * string * string * obj * string * string * string -> string
<Extension()>
Public Function Action (helper As IUrlHelper, action As String, controller As String, values As Object, protocol As String, host As String, fragment As String) As String
Parametreler
- helper
- IUrlHelper
- action
- String
Eylem yönteminin adı.
- controller
- String
Denetleyicinin adı.
- values
- Object
Yol değerlerini içeren bir nesne.
- protocol
- String
"http" veya "https" gibi URL protokolü.
- host
- String
URL'nin ana bilgisayar adı.
- fragment
- String
URL'nin parçası.
Döndürülenler
Oluşturulan URL.
Açıklamalar
değeri host
güvenilir bir değer olmalıdır. Geçerli isteğin değerine güvenmek, üst bilgi doğrulanmadığı sürece güvenilmeyen girişin sonuçta elde edilen URI'yi etkilemesine Host
izin verebilir. Dağıtım ortamınızda üst bilgiyi düzgün bir şekilde doğrulama Host
yönergeleri için dağıtım belgelerine bakın.