/// <summary> /// Returns a non-constructed version of this instance. /// </summary> public GenericGrainInterfaceType GetGenericGrainType() { var str = this.Value.ToStringUtf8(); var generic = TypeConverterExtensions.GetDeconstructed(str); return(new GenericGrainInterfaceType(GrainInterfaceType.Create(generic))); }
/// <summary> /// Returns a constructed version of this instance. /// </summary> public GenericGrainInterfaceType Construct(TypeConverter formatter, params Type[] typeArguments) { var constructed = formatter.GetConstructed(this.Value.ToStringUtf8(), typeArguments); return(new GenericGrainInterfaceType(GrainInterfaceType.Create(constructed))); }