MCPcopy Create free account
hub / github.com/apache/fory / WithTypeNameRegistration

Method WithTypeNameRegistration

csharp/src/Fory/TypeInfo.cs:594–618  ·  view source on GitHub ↗
(MetaString namespaceName, MetaString typeName)

Source from the content-addressed store, hash-verified

592 }
593
594 internal TypeInfo WithTypeNameRegistration(MetaString namespaceName, MetaString typeName)
595 {
596 return new TypeInfo(
597 Type,
598 _serializer,
599 BuiltInTypeId,
600 UserTypeKind,
601 IsDynamicType,
602 IsNullableType,
603 IsRefType,
604 DefaultObject,
605 Evolving,
606 isRegistered: true,
607 userTypeId: null,
608 registerByName: true,
609 namespaceName: namespaceName,
610 typeName: typeName,
611 _writeDataObject,
612 _readDataObject,
613 _writeObject,
614 _readObject,
615 _typeMetaFields,
616 WireTypeId,
617 _typeMeta);
618 }
619
620 internal TypeInfo WithRegistrationFrom(TypeInfo source)
621 {

Callers 1

RegisterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected