{
return value == null ? new PropertyValue() : new PropertyValue(value);
}
-
- internal static PropertyValue CreateWithGuard(string value)
- {
- return value == null ? new PropertyValue() : new PropertyValue(value);
- }
-
- internal static PropertyValue CreateWithGuard(Vector2 value)
- {
- return value == null ? new PropertyValue() : new PropertyValue(value);
- }
-
- internal static PropertyValue CreateWithGuard(Rectangle value)
- {
- return value == null ? new PropertyValue() : new PropertyValue(value);
- }
-
- internal static PropertyValue CreateWithGuard(Color value)
- {
- return value == null ? new PropertyValue() : new PropertyValue(value);
- }
}
}