ModelExtensionsGetResource(Cache, Guid, WebSite) Method
Namespace: Centralpoint.Web.ModelsAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static Resource GetResource(
this Cache cache,
Guid resourceId,
WebSite webSite = null
)
<ExtensionAttribute>
Public Shared Function GetResource (
cache As Cache,
resourceId As Guid,
Optional webSite As WebSite = Nothing
) As Resource
- cache Cache
-
- resourceId Guid
-
- webSite WebSite (Optional)
-
ResourceIn Visual Basic and C#, you can call this method as an instance method on any object of type
Cache. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).