|
AssemblyExtensionsShortName Method
|
Returns only assembly name and version from full assembly name.
Namespace: GSF.ReflectionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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