TraitType(ManagedTraitType source)
            {
                hashCode = source.hashCode;

                executeFunction = source.executeFunction;

                typeIndex = TypeIndex.Invalid;
            }
Beispiel #2
0
 public static Constraint Create(TypeIndex typeIndex, Type type)
 {
     return(new Constraint
     {
         typeIndex = typeIndex,
         type = type
     });
 }