Init() private method

private Init ( Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, String assemblyName ) : void
objectType System.Type
surrogateSelector ISurrogateSelector
context System.Runtime.Serialization.StreamingContext
objectManager System.Runtime.Serialization.ObjectManager
serObjectInfoInit SerObjectInfoInit
converter IFormatterConverter
assemblyName String
return void
Ejemplo n.º 1
0
        internal static ReadObjectInfo Create(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, String assemblyName)
        {
            ReadObjectInfo soi = GetObjectInfo(serObjectInfoInit);

            soi.Init(objectType, memberNames, memberTypes, surrogateSelector, context, objectManager, serObjectInfoInit, converter, assemblyName);
            return(soi);
        }
Ejemplo n.º 2
0
        internal static ReadObjectInfo Create(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, string assemblyName)
        {
            ReadObjectInfo objectInfo = GetObjectInfo(serObjectInfoInit);

            objectInfo.Init(objectType, surrogateSelector, context, objectManager, serObjectInfoInit, converter, assemblyName);
            return(objectInfo);
        }