示例#1
0
文件: P4Map.cs 项目: orecht/P4.net
 /// <summary>
 /// Creates a P4Map object populated with the view defined by lines.
 /// </summary>
 /// <param name="lines">Lines in the Map view.</param>
 public P4Map(params string[] lines)
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
     Insert(lines);
 }        
示例#2
0
文件: P4Map.cs 项目: orecht/P4.net
 private P4Map(P4MapMaker mapmaker)
 {
     _map = mapmaker;
 }
示例#3
0
文件: P4Map.cs 项目: orecht/P4.net
 /// <summary>
 /// Creates an empty Map.
 /// </summary>
 public P4Map()
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
 }
示例#4
0
文件: P4Map.cs 项目: mh52/P4.net
 /// <summary>
 /// Joins two map objects to form the intersection of the two views.
 /// </summary>
 /// <param name="left">Left-hand map.</param>
 /// <param name="right">Right-hand map.</param>
 /// <returns>P4Map object of the intersection of the two maps.</returns>
 public static P4Map Join(P4Map left, P4Map right)
 {
     return(new P4Map(P4MapMaker.Join(left._map, right._map)));
 }
示例#5
0
文件: P4Map.cs 项目: mh52/P4.net
 private P4Map(P4MapMaker mapmaker)
 {
     _map = mapmaker;
 }
示例#6
0
文件: P4Map.cs 项目: mh52/P4.net
 /// <summary>
 /// Creates a P4Map object populated with the view defined by lines.
 /// </summary>
 /// <param name="lines">Lines in the Map view.</param>
 public P4Map(params string[] lines)
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
     Insert(lines);
 }
示例#7
0
文件: P4Map.cs 项目: mh52/P4.net
 /// <summary>
 /// Creates an empty Map.
 /// </summary>
 public P4Map()
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
 }