Ejemplo n.º 1
0
 public static MemberInfoValue ToMemberInfoValue(this IVariableDeclarationModel decl, IGraphBasedTypeHandleSerializer serializer)
 {
     return(new MemberInfoValue(
                serializer.GenerateTypeHandle(decl.GraphModel as VSGraphModel),
                decl.DataType,
                decl.Name,
                MemberTypes.Field));
 }
Ejemplo n.º 2
0
 public TypeHandleSerializer(ITypeBasedTypeHandleSerializer typeSerializer, IGraphBasedTypeHandleSerializer graphSerializer)
 {
     m_TypeSerializer  = typeSerializer;
     m_GraphSerializer = graphSerializer;
 }