131b768f b8e9 c156 fd11 40025655a2bb - akesseler/Plexdata.Utilities.Templates GitHub Wiki
Determines whether the argument can be expanded.
Namespace: Plexdata.Utilities.Formatting.Extensions
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0
C#
private static bool CanExpand(
this Object argument
)
- argument
- Type: System.Object
The object to be checked.
Type: Boolean
True is argument if the argument is derived from IEnumerable. False is returned if either the argument is null
or it is an instance of class String.
In Visual Basic and C#, you can call this method as an instance method on any object of type Object. 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).
This method determines whether the argument can be expanded. For example (almost) each type derived from IEnumerable can be expanded.
ArgumentExtension Class
Plexdata.Utilities.Formatting.Extensions Namespace