public abstract class Metadata
{
}
// extend abstract Metadata class
public class Metadata<DataType> : Metadata where DataType : struct
{
private DataType mDataType;
}
More Related Contents:
- KeyValuePair with generic values [closed]
- Is there a constraint that restricts my generic method to numeric types?
- How do I clone a generic list in C#?
- Remove duplicates from a List in C#
- How to dynamically create generic C# object using reflection? [duplicate]
- Generic Repository or Specific Repository for each entity?
- How to create List of open generic type of class?
- Generics open and closed constructed types
- How do I read an attribute on a class at runtime?
- Is there a generic constructor with parameter constraint in C#?
- Making a generic property
- foreach vs someList.ForEach(){}
- Calling a static method on a generic type parameter
- No type inference with generic extension method
- How do I make the return type of a method generic?
- Partial type inference
- How to solve Operator ‘!=’ cannot be applied to operands of type ‘T’ and ‘T’ [duplicate]
- explicitly cast generic type parameters to any interface
- Why does the c# compiler emit Activator.CreateInstance when calling new in with a generic type with a new() constraint?
- .NET – Convert Generic Collection to DataTable
- Specifying generic collection type param at runtime [duplicate]
- C# Generic Type Inference With Multiple Types
- SortedList, SortedDictionary and Dictionary
- How do I check if a given value is a generic list?
- Declare a generic type instance dynamically [duplicate]
- Why doesn’t C# support implied generic types on class constructors?
- Creating a generic method in C#
- The component does not have a resource identified by the uri
- C# generic methods, type parameters in new() constructor constraint
- How does Java’s use-site variance compare to C#’s declaration site variance?