public void Define( AST.StructOrUnion structOrUnion, ImmutableList <Tuple <Option <String>, ExprType> > members) { var _members = members.ConvertAll(_ => Tuple.Create(_.Item1.Value, _.Item2)); if (structOrUnion == AST.StructOrUnion.STRUCT) { DefineStruct(_members); } else { DefineUnion(_members); } }
internal static ImmutableList <AnimeInfoStorage> ProjectToStorageModelWithEtag(ImmutableList <AnimeInfo> source) => source.ConvertAll(ProjectToStorageModelWithEtag);
public void Define( AST.StructOrUnion structOrUnion, ImmutableList<Tuple<Option<String>, ExprType>> members) { var _members = members.ConvertAll(_ => Tuple.Create(_.Item1.Value, _.Item2)); if (structOrUnion == AST.StructOrUnion.STRUCT) { DefineStruct(_members); } else { DefineUnion(_members); } }
public object ImmutableList_Convert() { return(BigImmutableList.ConvertAll(i => i.ToString())); }