Exemplo n.º 1
0
        /// <summary>
        /// Returns a non-constructed version of this instance.
        /// </summary>
        public GenericGrainType GetUnconstructedGrainType()
        {
            var str     = this.GrainType.ToStringUtf8();
            var generic = TypeConverterExtensions.GetDeconstructed(str);

            return(new GenericGrainType(GrainType.Create(generic)));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Returns a non-constructed version of this instance.
        /// </summary>
        public GenericGrainInterfaceType GetGenericGrainType()
        {
            var generic = TypeConverterExtensions.GetDeconstructed(Value.Value);

            return(new GenericGrainInterfaceType(new GrainInterfaceType(generic)));
        }