예제 #1
0
 public MethodMetadata(MethodDTG method)
 {
     Name         = method.Name;
     MetadataName = method.MetadataName;
     ReturnType   = TypeMetadata.LoadType(method.SerReturnType);
     Parameters   = method.SerParameters?.Select(p => new ParameterMetadata(p)).ToList();
 }
예제 #2
0
        public MethodDb(MethodDTG method)
        {
            Name         = method.Name;
            MetadataName = method.MetadataName;
            if (method.SerReturnType != null)
            {
                SerReturnType = TypeDb.LoadType(method.SerReturnType);
            }


            SerParameters = method.SerParameters?.Select(p => new ParameterDb(p)).ToList();
        }
예제 #3
0
        public SerializableMethod(MethodDTG method)
        {
            Name         = method.Name;
            MetadataName = method.MetadataName;
            if (method.SerReturnType != null)
            {
                SerReturnType = SerializableType.LoadType(method.SerReturnType);
            }


            SerParameters = method.SerParameters?.Select(p => new SerializableParameter(p)).ToList();
        }