|
AssemblyExtensionsShortName Method
|
Returns only assembly name and version from full assembly name.
Namespace: GSF.ReflectionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntaxpublic static string ShortName(
this Assembly assemblyInstance
)
<ExtensionAttribute>
Public Shared Function ShortName (
assemblyInstance As Assembly
) As String
public:
[ExtensionAttribute]
static String^ ShortName(
Assembly^ assemblyInstance
)
[<ExtensionAttribute>]
static member ShortName :
assemblyInstance : Assembly -> string
GSF.Reflection.AssemblyExtensions.ShortName = function(assemblyInstance);
View SourceParameters
- assemblyInstance Assembly
- An Assembly to get the short name of.
Return Value
StringThe assembly name and version from the full assembly name.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Assembly. 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).
See Also