Akka.Serialization.Serializer.TypeQualifiedNameForManifest C# (CSharp) Method

TypeQualifiedNameForManifest() protected static method

Utility to be used by implementors to create a manifest from the type. The manifest is used to look up the type on deserialization. Returns the type qualified name including namespace and assembly, but not assembly version.
See Type.GetType(string) for details on how a type is looked up from a name. In particular, if the (partial) assembly name is not included only the assembly calling Type.GetType(string) is searched. If the (partial) assembly name is included, it searches in the specified assembly.
protected static TypeQualifiedNameForManifest ( Type type ) : string
type System.Type
return string
        protected static string TypeQualifiedNameForManifest(Type type)
        {
            return type == null ? string.Empty : string.Format("{0},{1}", type.FullName, type.Assembly.GetName().Name);
        }
    }