nmoneys 2.1.0.0.20110901 → 2.2.0.0.20120213
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/NMoneys.dll +0 -0
- data/lib/NMoneys.xml +243 -81
- metadata +21 -41
data/lib/NMoneys.dll
CHANGED
Binary file
|
data/lib/NMoneys.xml
CHANGED
@@ -4,6 +4,62 @@
|
|
4
4
|
<name>NMoneys</name>
|
5
5
|
</assembly>
|
6
6
|
<members>
|
7
|
+
<member name="T:NMoneys.Allocators.IRemainderAllocator">
|
8
|
+
<summary>
|
9
|
+
Distributes the remainder after allocating the highest fair amount amongst all the recipients.
|
10
|
+
</summary>
|
11
|
+
<remarks>
|
12
|
+
IF the total amount to be allocated cannot be allocated to each recipient evenly, then
|
13
|
+
this will define the order in which recipients will be allocated the remainder left over
|
14
|
+
after an equal distribution is made.
|
15
|
+
<para>
|
16
|
+
This is not relevant if the total sum of money can be evenly distributed.
|
17
|
+
</para>
|
18
|
+
</remarks>
|
19
|
+
<example>
|
20
|
+
The classic example is that of a three-way split on a US dollar; after we
|
21
|
+
allocate each recipient 33 cents we have a cent left over. In this case the <see cref="T:NMoneys.Allocators.IRemainderAllocator"/>
|
22
|
+
will determine which recipient gets that extra penny.
|
23
|
+
</example>
|
24
|
+
</member>
|
25
|
+
<member name="M:NMoneys.Allocators.IRemainderAllocator.Allocate(NMoneys.Money,System.Collections.Generic.IList{System.Decimal})">
|
26
|
+
<summary>
|
27
|
+
Allocates the remainder after allocating the highest fair amount amongst all the recipients.
|
28
|
+
</summary>
|
29
|
+
<remarks>
|
30
|
+
At the end of the distribution, the sum of the amounts of <paramref name="alreadyAllocated"/> must be equal to the original amount to allocate.
|
31
|
+
<para>Implementors will increase the amounts of <paramref name="alreadyAllocated"/> according to whichever strategy is chosen to distribute the <paramref name="remainder"/>.</para>
|
32
|
+
<para>It may not be called at all if the money can be evently distributed in <see cref="M:NMoneys.Money.Allocate(System.Int32,NMoneys.Allocators.IRemainderAllocator)"/>.</para>
|
33
|
+
</remarks>
|
34
|
+
<param name="remainder">The remainder amount that might need to be allocated or <see cref="M:NMoneys.Money.Zero"/> if no remainder.</param>
|
35
|
+
<param name="alreadyAllocated">An array representing the evenly allocated amounts.
|
36
|
+
Its amounts will be modified according to the strategy chosen to allocate the <paramref name="remainder"/>.</param>
|
37
|
+
</member>
|
38
|
+
<member name="M:NMoneys.Allocators.RemainderAllocatorBase.apply(NMoneys.Money@,System.Collections.Generic.IList{System.Decimal},System.Int32)">
|
39
|
+
<summary>
|
40
|
+
Distributes the minimal amount to the specified result.
|
41
|
+
</summary>
|
42
|
+
</member>
|
43
|
+
<member name="M:NMoneys.PowerOfTen.Positive(NMoneys.Currency)">
|
44
|
+
<summary>
|
45
|
+
10 ^ <see cref="P:NMoneys.Currency.SignificantDecimalDigits"/>.
|
46
|
+
</summary>
|
47
|
+
</member>
|
48
|
+
<member name="M:NMoneys.PowerOfTen.Positive(System.Int32)">
|
49
|
+
<summary>
|
50
|
+
10 ^ <paramref name="numberOfDecimals"/>.
|
51
|
+
</summary>
|
52
|
+
</member>
|
53
|
+
<member name="M:NMoneys.PowerOfTen.Negative(NMoneys.Currency)">
|
54
|
+
<summary>
|
55
|
+
10 ^ -<see cref="P:NMoneys.Currency.SignificantDecimalDigits"/>.
|
56
|
+
</summary>
|
57
|
+
</member>
|
58
|
+
<member name="M:NMoneys.PowerOfTen.Negative(System.Int32)">
|
59
|
+
<summary>
|
60
|
+
10 ^ -<paramref name="numberOfDecimals"/>.
|
61
|
+
</summary>
|
62
|
+
</member>
|
7
63
|
<member name="T:NMoneys.Currency">
|
8
64
|
<summary>
|
9
65
|
Represents a currency unit such as Euro or American Dollar.
|
@@ -557,6 +613,11 @@
|
|
557
613
|
Indicates the number of decimal places to use in currency values.
|
558
614
|
</summary>
|
559
615
|
</member>
|
616
|
+
<member name="P:NMoneys.Currency.MinAmount">
|
617
|
+
<summary>
|
618
|
+
Represents the smalles amount that can be represented for the currency according to its <see cref="P:NMoneys.Currency.SignificantDecimalDigits"/>.
|
619
|
+
</summary>
|
620
|
+
</member>
|
560
621
|
<member name="P:NMoneys.Currency.NativeName">
|
561
622
|
<summary>
|
562
623
|
Gets the name of the currency formatted in the native language of the country/region where the currency is used.
|
@@ -844,7 +905,7 @@
|
|
844
905
|
</member>
|
845
906
|
<member name="F:NMoneys.CurrencyIsoCode.ALL">
|
846
907
|
<summary>
|
847
|
-
|
908
|
+
Lek
|
848
909
|
</summary>
|
849
910
|
</member>
|
850
911
|
<member name="F:NMoneys.CurrencyIsoCode.AMD">
|
@@ -854,7 +915,7 @@
|
|
854
915
|
</member>
|
855
916
|
<member name="F:NMoneys.CurrencyIsoCode.ANG">
|
856
917
|
<summary>
|
857
|
-
Netherlands
|
918
|
+
Netherlands Antillean Guilder
|
858
919
|
</summary>
|
859
920
|
</member>
|
860
921
|
<member name="F:NMoneys.CurrencyIsoCode.AOA">
|
@@ -884,7 +945,7 @@
|
|
884
945
|
</member>
|
885
946
|
<member name="F:NMoneys.CurrencyIsoCode.BAM">
|
886
947
|
<summary>
|
887
|
-
Convertible
|
948
|
+
Convertible Mark
|
888
949
|
</summary>
|
889
950
|
</member>
|
890
951
|
<member name="F:NMoneys.CurrencyIsoCode.BBD">
|
@@ -894,7 +955,7 @@
|
|
894
955
|
</member>
|
895
956
|
<member name="F:NMoneys.CurrencyIsoCode.BDT">
|
896
957
|
<summary>
|
897
|
-
|
958
|
+
Taka
|
898
959
|
</summary>
|
899
960
|
</member>
|
900
961
|
<member name="F:NMoneys.CurrencyIsoCode.BGN">
|
@@ -929,12 +990,12 @@
|
|
929
990
|
</member>
|
930
991
|
<member name="F:NMoneys.CurrencyIsoCode.BOV">
|
931
992
|
<summary>
|
932
|
-
|
993
|
+
Mvdol
|
933
994
|
</summary>
|
934
995
|
</member>
|
935
996
|
<member name="F:NMoneys.CurrencyIsoCode.BRL">
|
936
997
|
<summary>
|
937
|
-
Real
|
998
|
+
Brazilian Real
|
938
999
|
</summary>
|
939
1000
|
</member>
|
940
1001
|
<member name="F:NMoneys.CurrencyIsoCode.BSD">
|
@@ -954,7 +1015,7 @@
|
|
954
1015
|
</member>
|
955
1016
|
<member name="F:NMoneys.CurrencyIsoCode.BYR">
|
956
1017
|
<summary>
|
957
|
-
|
1018
|
+
Belarussian Ruble
|
958
1019
|
</summary>
|
959
1020
|
</member>
|
960
1021
|
<member name="F:NMoneys.CurrencyIsoCode.BZD">
|
@@ -989,7 +1050,7 @@
|
|
989
1050
|
</member>
|
990
1051
|
<member name="F:NMoneys.CurrencyIsoCode.CLF">
|
991
1052
|
<summary>
|
992
|
-
|
1053
|
+
Unidades de fomento
|
993
1054
|
</summary>
|
994
1055
|
</member>
|
995
1056
|
<member name="F:NMoneys.CurrencyIsoCode.CLP">
|
@@ -1009,7 +1070,7 @@
|
|
1009
1070
|
</member>
|
1010
1071
|
<member name="F:NMoneys.CurrencyIsoCode.COU">
|
1011
1072
|
<summary>
|
1012
|
-
|
1073
|
+
Unidad de Valor Real
|
1013
1074
|
</summary>
|
1014
1075
|
</member>
|
1015
1076
|
<member name="F:NMoneys.CurrencyIsoCode.CRC">
|
@@ -1094,7 +1155,7 @@
|
|
1094
1155
|
</member>
|
1095
1156
|
<member name="F:NMoneys.CurrencyIsoCode.GBP">
|
1096
1157
|
<summary>
|
1097
|
-
|
1158
|
+
Pound Sterling
|
1098
1159
|
</summary>
|
1099
1160
|
</member>
|
1100
1161
|
<member name="F:NMoneys.CurrencyIsoCode.GEL">
|
@@ -1104,7 +1165,7 @@
|
|
1104
1165
|
</member>
|
1105
1166
|
<member name="F:NMoneys.CurrencyIsoCode.GHS">
|
1106
1167
|
<summary>
|
1107
|
-
Cedi
|
1168
|
+
Ghana Cedi
|
1108
1169
|
</summary>
|
1109
1170
|
</member>
|
1110
1171
|
<member name="F:NMoneys.CurrencyIsoCode.GIP">
|
@@ -1124,7 +1185,7 @@
|
|
1124
1185
|
</member>
|
1125
1186
|
<member name="F:NMoneys.CurrencyIsoCode.GTQ">
|
1126
1187
|
<summary>
|
1127
|
-
|
1188
|
+
Quetzal
|
1128
1189
|
</summary>
|
1129
1190
|
</member>
|
1130
1191
|
<member name="F:NMoneys.CurrencyIsoCode.GYD">
|
@@ -1139,7 +1200,7 @@
|
|
1139
1200
|
</member>
|
1140
1201
|
<member name="F:NMoneys.CurrencyIsoCode.HNL">
|
1141
1202
|
<summary>
|
1142
|
-
|
1203
|
+
Lempira
|
1143
1204
|
</summary>
|
1144
1205
|
</member>
|
1145
1206
|
<member name="F:NMoneys.CurrencyIsoCode.HRK">
|
@@ -1154,17 +1215,17 @@
|
|
1154
1215
|
</member>
|
1155
1216
|
<member name="F:NMoneys.CurrencyIsoCode.HUF">
|
1156
1217
|
<summary>
|
1157
|
-
|
1218
|
+
Forint
|
1158
1219
|
</summary>
|
1159
1220
|
</member>
|
1160
1221
|
<member name="F:NMoneys.CurrencyIsoCode.IDR">
|
1161
1222
|
<summary>
|
1162
|
-
|
1223
|
+
Rupiah
|
1163
1224
|
</summary>
|
1164
1225
|
</member>
|
1165
1226
|
<member name="F:NMoneys.CurrencyIsoCode.ILS">
|
1166
1227
|
<summary>
|
1167
|
-
Israeli
|
1228
|
+
New Israeli Sheqel
|
1168
1229
|
</summary>
|
1169
1230
|
</member>
|
1170
1231
|
<member name="F:NMoneys.CurrencyIsoCode.INR">
|
@@ -1184,7 +1245,7 @@
|
|
1184
1245
|
</member>
|
1185
1246
|
<member name="F:NMoneys.CurrencyIsoCode.ISK">
|
1186
1247
|
<summary>
|
1187
|
-
|
1248
|
+
Iceland Krona
|
1188
1249
|
</summary>
|
1189
1250
|
</member>
|
1190
1251
|
<member name="F:NMoneys.CurrencyIsoCode.JMD">
|
@@ -1199,7 +1260,7 @@
|
|
1199
1260
|
</member>
|
1200
1261
|
<member name="F:NMoneys.CurrencyIsoCode.JPY">
|
1201
1262
|
<summary>
|
1202
|
-
|
1263
|
+
Yen
|
1203
1264
|
</summary>
|
1204
1265
|
</member>
|
1205
1266
|
<member name="F:NMoneys.CurrencyIsoCode.KES">
|
@@ -1209,7 +1270,7 @@
|
|
1209
1270
|
</member>
|
1210
1271
|
<member name="F:NMoneys.CurrencyIsoCode.KGS">
|
1211
1272
|
<summary>
|
1212
|
-
|
1273
|
+
Som
|
1213
1274
|
</summary>
|
1214
1275
|
</member>
|
1215
1276
|
<member name="F:NMoneys.CurrencyIsoCode.KMF">
|
@@ -1229,7 +1290,7 @@
|
|
1229
1290
|
</member>
|
1230
1291
|
<member name="F:NMoneys.CurrencyIsoCode.KRW">
|
1231
1292
|
<summary>
|
1232
|
-
|
1293
|
+
Won
|
1233
1294
|
</summary>
|
1234
1295
|
</member>
|
1235
1296
|
<member name="F:NMoneys.CurrencyIsoCode.KWD">
|
@@ -1304,7 +1365,7 @@
|
|
1304
1365
|
</member>
|
1305
1366
|
<member name="F:NMoneys.CurrencyIsoCode.MKD">
|
1306
1367
|
<summary>
|
1307
|
-
|
1368
|
+
Denar
|
1308
1369
|
</summary>
|
1309
1370
|
</member>
|
1310
1371
|
<member name="F:NMoneys.CurrencyIsoCode.MMK">
|
@@ -1319,7 +1380,7 @@
|
|
1319
1380
|
</member>
|
1320
1381
|
<member name="F:NMoneys.CurrencyIsoCode.MOP">
|
1321
1382
|
<summary>
|
1322
|
-
|
1383
|
+
Pataca
|
1323
1384
|
</summary>
|
1324
1385
|
</member>
|
1325
1386
|
<member name="F:NMoneys.CurrencyIsoCode.MRO">
|
@@ -1349,7 +1410,7 @@
|
|
1349
1410
|
</member>
|
1350
1411
|
<member name="F:NMoneys.CurrencyIsoCode.MXV">
|
1351
1412
|
<summary>
|
1352
|
-
Mexican
|
1413
|
+
Mexican Unidad de Inversion (UDI)
|
1353
1414
|
</summary>
|
1354
1415
|
</member>
|
1355
1416
|
<member name="F:NMoneys.CurrencyIsoCode.MYR">
|
@@ -1359,22 +1420,22 @@
|
|
1359
1420
|
</member>
|
1360
1421
|
<member name="F:NMoneys.CurrencyIsoCode.MZN">
|
1361
1422
|
<summary>
|
1362
|
-
Metical
|
1423
|
+
Mozambique Metical
|
1363
1424
|
</summary>
|
1364
1425
|
</member>
|
1365
1426
|
<member name="F:NMoneys.CurrencyIsoCode.NAD">
|
1366
1427
|
<summary>
|
1367
|
-
|
1428
|
+
Namibia Dollar
|
1368
1429
|
</summary>
|
1369
1430
|
</member>
|
1370
1431
|
<member name="F:NMoneys.CurrencyIsoCode.NGN">
|
1371
1432
|
<summary>
|
1372
|
-
|
1433
|
+
Naira
|
1373
1434
|
</summary>
|
1374
1435
|
</member>
|
1375
1436
|
<member name="F:NMoneys.CurrencyIsoCode.NIO">
|
1376
1437
|
<summary>
|
1377
|
-
|
1438
|
+
Cordoba Oro
|
1378
1439
|
</summary>
|
1379
1440
|
</member>
|
1380
1441
|
<member name="F:NMoneys.CurrencyIsoCode.NOK">
|
@@ -1384,7 +1445,7 @@
|
|
1384
1445
|
</member>
|
1385
1446
|
<member name="F:NMoneys.CurrencyIsoCode.NPR">
|
1386
1447
|
<summary>
|
1387
|
-
Nepalese
|
1448
|
+
Nepalese Rupee
|
1388
1449
|
</summary>
|
1389
1450
|
</member>
|
1390
1451
|
<member name="F:NMoneys.CurrencyIsoCode.NZD">
|
@@ -1394,17 +1455,17 @@
|
|
1394
1455
|
</member>
|
1395
1456
|
<member name="F:NMoneys.CurrencyIsoCode.OMR">
|
1396
1457
|
<summary>
|
1397
|
-
Omani
|
1458
|
+
Rial Omani
|
1398
1459
|
</summary>
|
1399
1460
|
</member>
|
1400
1461
|
<member name="F:NMoneys.CurrencyIsoCode.PAB">
|
1401
1462
|
<summary>
|
1402
|
-
|
1463
|
+
Balboa
|
1403
1464
|
</summary>
|
1404
1465
|
</member>
|
1405
1466
|
<member name="F:NMoneys.CurrencyIsoCode.PEN">
|
1406
1467
|
<summary>
|
1407
|
-
|
1468
|
+
Nuevo Sol
|
1408
1469
|
</summary>
|
1409
1470
|
</member>
|
1410
1471
|
<member name="F:NMoneys.CurrencyIsoCode.PGK">
|
@@ -1424,12 +1485,12 @@
|
|
1424
1485
|
</member>
|
1425
1486
|
<member name="F:NMoneys.CurrencyIsoCode.PLN">
|
1426
1487
|
<summary>
|
1427
|
-
|
1488
|
+
Zloty
|
1428
1489
|
</summary>
|
1429
1490
|
</member>
|
1430
1491
|
<member name="F:NMoneys.CurrencyIsoCode.PYG">
|
1431
1492
|
<summary>
|
1432
|
-
|
1493
|
+
Guarani
|
1433
1494
|
</summary>
|
1434
1495
|
</member>
|
1435
1496
|
<member name="F:NMoneys.CurrencyIsoCode.QAR">
|
@@ -1439,7 +1500,7 @@
|
|
1439
1500
|
</member>
|
1440
1501
|
<member name="F:NMoneys.CurrencyIsoCode.RON">
|
1441
1502
|
<summary>
|
1442
|
-
Romanian Leu
|
1503
|
+
New Romanian Leu
|
1443
1504
|
</summary>
|
1444
1505
|
</member>
|
1445
1506
|
<member name="F:NMoneys.CurrencyIsoCode.RSD">
|
@@ -1454,7 +1515,7 @@
|
|
1454
1515
|
</member>
|
1455
1516
|
<member name="F:NMoneys.CurrencyIsoCode.RWF">
|
1456
1517
|
<summary>
|
1457
|
-
|
1518
|
+
Rwanda Franc
|
1458
1519
|
</summary>
|
1459
1520
|
</member>
|
1460
1521
|
<member name="F:NMoneys.CurrencyIsoCode.SAR">
|
@@ -1519,7 +1580,7 @@
|
|
1519
1580
|
</member>
|
1520
1581
|
<member name="F:NMoneys.CurrencyIsoCode.SVC">
|
1521
1582
|
<summary>
|
1522
|
-
|
1583
|
+
El Salvador Colon
|
1523
1584
|
</summary>
|
1524
1585
|
</member>
|
1525
1586
|
<member name="F:NMoneys.CurrencyIsoCode.SYP">
|
@@ -1534,17 +1595,17 @@
|
|
1534
1595
|
</member>
|
1535
1596
|
<member name="F:NMoneys.CurrencyIsoCode.THB">
|
1536
1597
|
<summary>
|
1537
|
-
|
1598
|
+
Baht
|
1538
1599
|
</summary>
|
1539
1600
|
</member>
|
1540
1601
|
<member name="F:NMoneys.CurrencyIsoCode.TJS">
|
1541
1602
|
<summary>
|
1542
|
-
|
1603
|
+
Somoni
|
1543
1604
|
</summary>
|
1544
1605
|
</member>
|
1545
1606
|
<member name="F:NMoneys.CurrencyIsoCode.TMT">
|
1546
1607
|
<summary>
|
1547
|
-
|
1608
|
+
Turkmenistan New Manat
|
1548
1609
|
</summary>
|
1549
1610
|
</member>
|
1550
1611
|
<member name="F:NMoneys.CurrencyIsoCode.TND">
|
@@ -1564,7 +1625,7 @@
|
|
1564
1625
|
</member>
|
1565
1626
|
<member name="F:NMoneys.CurrencyIsoCode.TTD">
|
1566
1627
|
<summary>
|
1567
|
-
Trinidad Dollar
|
1628
|
+
Trinidad and Tobago Dollar
|
1568
1629
|
</summary>
|
1569
1630
|
</member>
|
1570
1631
|
<member name="F:NMoneys.CurrencyIsoCode.TWD">
|
@@ -1579,7 +1640,7 @@
|
|
1579
1640
|
</member>
|
1580
1641
|
<member name="F:NMoneys.CurrencyIsoCode.UAH">
|
1581
1642
|
<summary>
|
1582
|
-
|
1643
|
+
Hryvnia
|
1583
1644
|
</summary>
|
1584
1645
|
</member>
|
1585
1646
|
<member name="F:NMoneys.CurrencyIsoCode.UGX">
|
@@ -1604,7 +1665,7 @@
|
|
1604
1665
|
</member>
|
1605
1666
|
<member name="F:NMoneys.CurrencyIsoCode.UYI">
|
1606
1667
|
<summary>
|
1607
|
-
Peso
|
1668
|
+
>Uruguay Peso en Unidades Indexadas (URUIURUI)
|
1608
1669
|
</summary>
|
1609
1670
|
</member>
|
1610
1671
|
<member name="F:NMoneys.CurrencyIsoCode.UYU">
|
@@ -1614,17 +1675,17 @@
|
|
1614
1675
|
</member>
|
1615
1676
|
<member name="F:NMoneys.CurrencyIsoCode.UZS">
|
1616
1677
|
<summary>
|
1617
|
-
Uzbekistan
|
1678
|
+
Uzbekistan Sum
|
1618
1679
|
</summary>
|
1619
1680
|
</member>
|
1620
1681
|
<member name="F:NMoneys.CurrencyIsoCode.VEF">
|
1621
1682
|
<summary>
|
1622
|
-
|
1683
|
+
Bolivar Fuerte
|
1623
1684
|
</summary>
|
1624
1685
|
</member>
|
1625
1686
|
<member name="F:NMoneys.CurrencyIsoCode.VND">
|
1626
1687
|
<summary>
|
1627
|
-
|
1688
|
+
Dong
|
1628
1689
|
</summary>
|
1629
1690
|
</member>
|
1630
1691
|
<member name="F:NMoneys.CurrencyIsoCode.VUV">
|
@@ -1654,7 +1715,7 @@
|
|
1654
1715
|
</member>
|
1655
1716
|
<member name="F:NMoneys.CurrencyIsoCode.XBA">
|
1656
1717
|
<summary>
|
1657
|
-
|
1718
|
+
European Composite Unit (EURCO)
|
1658
1719
|
</summary>
|
1659
1720
|
</member>
|
1660
1721
|
<member name="F:NMoneys.CurrencyIsoCode.XBB">
|
@@ -1679,7 +1740,7 @@
|
|
1679
1740
|
</member>
|
1680
1741
|
<member name="F:NMoneys.CurrencyIsoCode.XDR">
|
1681
1742
|
<summary>
|
1682
|
-
SDR
|
1743
|
+
SDR (Special Drawing Right)
|
1683
1744
|
</summary>
|
1684
1745
|
</member>
|
1685
1746
|
<member name="F:NMoneys.CurrencyIsoCode.XOF">
|
@@ -1729,7 +1790,7 @@
|
|
1729
1790
|
</member>
|
1730
1791
|
<member name="F:NMoneys.CurrencyIsoCode.ZAR">
|
1731
1792
|
<summary>
|
1732
|
-
|
1793
|
+
Rand
|
1733
1794
|
</summary>
|
1734
1795
|
</member>
|
1735
1796
|
<member name="F:NMoneys.CurrencyIsoCode.ZMK">
|
@@ -1790,6 +1851,14 @@
|
|
1790
1851
|
The alphabetic ISO 4217 code of the <see cref="T:NMoneys.CurrencyIsoCode"/>
|
1791
1852
|
</summary>
|
1792
1853
|
</member>
|
1854
|
+
<member name="M:NMoneys.IsoCodeExtensions.AsCurrency(NMoneys.CurrencyIsoCode)">
|
1855
|
+
<summary>
|
1856
|
+
Obtains the instance of Currency associated to the CurrencyIsoCode specified.
|
1857
|
+
</summary>
|
1858
|
+
<param name="isoCode">ISO 4217 code</param>
|
1859
|
+
<returns>The instance of <see cref="T:NMoneys.Currency"/> represented by the <paramref name="isoCode"/>.</returns>
|
1860
|
+
<seealso cref="M:NMoneys.Currency.Get(NMoneys.CurrencyIsoCode)"/>
|
1861
|
+
</member>
|
1793
1862
|
<member name="T:NMoneys.MisconfiguredCurrencyException">
|
1794
1863
|
<summary>
|
1795
1864
|
The exception that is thrown when a currency has not been properly configured.
|
@@ -1878,234 +1947,256 @@
|
|
1878
1947
|
</member>
|
1879
1948
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Aud(System.Decimal)">
|
1880
1949
|
<summary>
|
1881
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1950
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1882
1951
|
</summary>
|
1883
1952
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1884
1953
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Aud"/>.</returns>
|
1885
1954
|
</member>
|
1886
1955
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Cad(System.Decimal)">
|
1887
1956
|
<summary>
|
1888
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1957
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1889
1958
|
</summary>
|
1890
1959
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1891
1960
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Cad"/>.</returns>
|
1892
1961
|
</member>
|
1893
1962
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Chf(System.Decimal)">
|
1894
1963
|
<summary>
|
1895
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1964
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1896
1965
|
</summary>
|
1897
1966
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1898
1967
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Chf"/>.</returns>
|
1899
1968
|
</member>
|
1900
1969
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Cny(System.Decimal)">
|
1901
1970
|
<summary>
|
1902
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1971
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1903
1972
|
</summary>
|
1904
1973
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1905
1974
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Cny"/>.</returns>
|
1906
1975
|
</member>
|
1907
1976
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Dkk(System.Decimal)">
|
1908
1977
|
<summary>
|
1909
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1978
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1910
1979
|
</summary>
|
1911
1980
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1912
1981
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Dkk"/>.</returns>
|
1913
1982
|
</member>
|
1914
1983
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Eur(System.Decimal)">
|
1915
1984
|
<summary>
|
1916
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1985
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1917
1986
|
</summary>
|
1918
1987
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1919
1988
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Eur"/>.</returns>
|
1920
1989
|
</member>
|
1921
1990
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Gbp(System.Decimal)">
|
1922
1991
|
<summary>
|
1923
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1992
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1924
1993
|
</summary>
|
1925
1994
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1926
1995
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Gbp"/>.</returns>
|
1927
1996
|
</member>
|
1928
1997
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Hkd(System.Decimal)">
|
1929
1998
|
<summary>
|
1930
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
1999
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1931
2000
|
</summary>
|
1932
2001
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1933
2002
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Hkd"/>.</returns>
|
1934
2003
|
</member>
|
1935
2004
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Huf(System.Decimal)">
|
1936
2005
|
<summary>
|
1937
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2006
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1938
2007
|
</summary>
|
1939
2008
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1940
2009
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Huf"/>.</returns>
|
1941
2010
|
</member>
|
1942
2011
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Inr(System.Decimal)">
|
1943
2012
|
<summary>
|
1944
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2013
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1945
2014
|
</summary>
|
1946
2015
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1947
2016
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Inr"/>.</returns>
|
1948
2017
|
</member>
|
1949
2018
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Jpy(System.Decimal)">
|
1950
2019
|
<summary>
|
1951
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2020
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1952
2021
|
</summary>
|
1953
2022
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1954
2023
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Jpy"/>.</returns>
|
1955
2024
|
</member>
|
1956
2025
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Mxn(System.Decimal)">
|
1957
2026
|
<summary>
|
1958
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2027
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1959
2028
|
</summary>
|
1960
2029
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1961
2030
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Mxn"/>.</returns>
|
1962
2031
|
</member>
|
1963
2032
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Myr(System.Decimal)">
|
1964
2033
|
<summary>
|
1965
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2034
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1966
2035
|
</summary>
|
1967
2036
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1968
2037
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Myr"/>.</returns>
|
1969
2038
|
</member>
|
1970
2039
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Nok(System.Decimal)">
|
1971
2040
|
<summary>
|
1972
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2041
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1973
2042
|
</summary>
|
1974
2043
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1975
2044
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Nok"/>.</returns>
|
1976
2045
|
</member>
|
1977
2046
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Nzd(System.Decimal)">
|
1978
2047
|
<summary>
|
1979
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2048
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1980
2049
|
</summary>
|
1981
2050
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1982
2051
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Nzd"/>.</returns>
|
1983
2052
|
</member>
|
1984
2053
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Rub(System.Decimal)">
|
1985
2054
|
<summary>
|
1986
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2055
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1987
2056
|
</summary>
|
1988
2057
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1989
2058
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Rub"/>.</returns>
|
1990
2059
|
</member>
|
1991
2060
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Sek(System.Decimal)">
|
1992
2061
|
<summary>
|
1993
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2062
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
1994
2063
|
</summary>
|
1995
2064
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
1996
2065
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Sek"/>.</returns>
|
1997
2066
|
</member>
|
1998
2067
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Sgd(System.Decimal)">
|
1999
2068
|
<summary>
|
2000
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2069
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2001
2070
|
</summary>
|
2002
2071
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2003
2072
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Sgd"/>.</returns>
|
2004
2073
|
</member>
|
2005
2074
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Thb(System.Decimal)">
|
2006
2075
|
<summary>
|
2007
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2076
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2008
2077
|
</summary>
|
2009
2078
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2010
2079
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Thb"/>.</returns>
|
2011
2080
|
</member>
|
2012
2081
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Usd(System.Decimal)">
|
2013
2082
|
<summary>
|
2014
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2083
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2015
2084
|
</summary>
|
2016
2085
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2017
2086
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Usd"/>.</returns>
|
2018
2087
|
</member>
|
2019
2088
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Zar(System.Decimal)">
|
2020
2089
|
<summary>
|
2021
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2090
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2022
2091
|
</summary>
|
2023
2092
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2024
2093
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Zar"/>.</returns>
|
2025
2094
|
</member>
|
2026
2095
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Xxx(System.Decimal)">
|
2027
2096
|
<summary>
|
2028
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2097
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2029
2098
|
</summary>
|
2030
2099
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2031
2100
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Xxx"/>.</returns>
|
2032
2101
|
</member>
|
2033
2102
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Xts(System.Decimal)">
|
2034
2103
|
<summary>
|
2035
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2104
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2036
2105
|
</summary>
|
2037
2106
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2038
2107
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Xts"/>.</returns>
|
2039
2108
|
</member>
|
2040
2109
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Euros(System.Decimal)">
|
2041
2110
|
<summary>
|
2042
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2111
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2043
2112
|
</summary>
|
2044
2113
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2045
2114
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Euro"/>.</returns>
|
2046
2115
|
</member>
|
2047
2116
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Dollars(System.Decimal)">
|
2048
2117
|
<summary>
|
2049
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2118
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2050
2119
|
</summary>
|
2051
2120
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2052
2121
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Dollar"/>.</returns>
|
2053
2122
|
</member>
|
2054
2123
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Pounds(System.Decimal)">
|
2055
2124
|
<summary>
|
2056
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2125
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2057
2126
|
</summary>
|
2058
2127
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2059
2128
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Pound"/>.</returns>
|
2060
2129
|
</member>
|
2061
2130
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Lerus(System.Decimal)">
|
2062
2131
|
<summary>
|
2063
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2132
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2064
2133
|
</summary>
|
2065
2134
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2066
2135
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Eur"/>.</returns>
|
2067
2136
|
</member>
|
2068
2137
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Bucks(System.Decimal)">
|
2069
2138
|
<summary>
|
2070
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2139
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2071
2140
|
</summary>
|
2072
2141
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2073
2142
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Usd"/>.</returns>
|
2074
2143
|
</member>
|
2075
2144
|
<member name="M:NMoneys.Extensions.MoneyExtensions.Quid(System.Decimal)">
|
2076
2145
|
<summary>
|
2077
|
-
Creates an <see cref="T:NMoneys.Money"/> instance with the specified
|
2146
|
+
Creates an <see cref="T:NMoneys.Money"/> instance with the specified NMoneys.Currency.
|
2078
2147
|
</summary>
|
2079
2148
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2080
2149
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <see cref="F:NMoneys.Currency.Gbp"/>.</returns>
|
2081
2150
|
</member>
|
2082
2151
|
<member name="M:NMoneys.Extensions.MoneyExtensions.ToMoney(NMoneys.CurrencyIsoCode,System.Decimal)">
|
2083
|
-
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and
|
2152
|
+
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and NMoneys.Currency.</summary>
|
2084
2153
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2085
2154
|
<param name="currency">The <see cref="P:NMoneys.Money.CurrencyCode"/> of the monetary quantity.</param>
|
2086
2155
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <paramref name="currency"/>.</returns>
|
2087
2156
|
<seealso cref="M:NMoneys.Money.#ctor(System.Decimal,NMoneys.CurrencyIsoCode)"/>
|
2088
2157
|
</member>
|
2089
2158
|
<member name="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Decimal)">
|
2090
|
-
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and unspecified
|
2159
|
+
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and unspecified NMoneys.Currency.</summary>
|
2091
2160
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2092
2161
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and unspecified currency (<see cref="F:NMoneys.CurrencyIsoCode.XXX"/>).</returns>
|
2093
2162
|
<seealso cref="M:NMoneys.Money.#ctor(System.Decimal)"/>
|
2094
2163
|
</member>
|
2095
2164
|
<member name="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Decimal,NMoneys.CurrencyIsoCode)">
|
2096
|
-
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and
|
2165
|
+
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and NMoneys.Currency.</summary>
|
2097
2166
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2098
2167
|
<param name="currency">The <see cref="P:NMoneys.Money.CurrencyCode"/> of the monetary quantity.</param>
|
2099
2168
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <paramref name="currency"/>.</returns>
|
2100
2169
|
<seealso cref="M:NMoneys.Money.#ctor(System.Decimal,NMoneys.CurrencyIsoCode)"/>
|
2101
2170
|
</member>
|
2102
2171
|
<member name="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Decimal,NMoneys.Currency)">
|
2103
|
-
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and
|
2172
|
+
<summary>Creates a <see cref="T:NMoneys.Money"/> instance with the specified amount and NMoneys.Currency.</summary>
|
2104
2173
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2105
2174
|
<param name="currency">The incarnation of the <see cref="P:NMoneys.Money.CurrencyCode"/>.</param>
|
2106
2175
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amount"/> and <paramref name="currency"/>.</returns>
|
2107
2176
|
<seealso cref="M:NMoneys.Money.#ctor(System.Decimal,NMoneys.Currency)"/>
|
2108
2177
|
</member>
|
2178
|
+
<member name="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Collections.Generic.IEnumerable{System.Decimal},NMoneys.CurrencyIsoCode)">
|
2179
|
+
<summary>Creates an array of <see cref="T:NMoneys.Money"/> instances all with the specified currency and the corresponding amount.</summary>
|
2180
|
+
<param name="amounts">Each of the <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2181
|
+
<param name="currency">The <see cref="P:NMoneys.Money.CurrencyCode"/> of the monetary quantity.</param>
|
2182
|
+
<returns>An array of <see cref="T:NMoneys.Money"/> with the same length as <paramref name="amounts"/> and each member with the specified
|
2183
|
+
amount and <paramref name="currency"/>.</returns>
|
2184
|
+
<seealso cref="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Decimal,NMoneys.CurrencyIsoCode)"/>
|
2185
|
+
</member>
|
2186
|
+
<member name="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Collections.Generic.IEnumerable{System.Decimal},NMoneys.Currency)">
|
2187
|
+
<summary>Creates an array of <see cref="T:NMoneys.Money"/> instances all with the specified currency and the corresponding amount.</summary>
|
2188
|
+
<param name="amounts">Each of the <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2189
|
+
<param name="currency">The incarnation of the <see cref="P:NMoneys.Money.CurrencyCode"/>.</param>
|
2190
|
+
<returns>An array of <see cref="T:NMoneys.Money"/> with the same length as <paramref name="amounts"/> and each member with the specified
|
2191
|
+
amount and <paramref name="currency"/>.</returns>
|
2192
|
+
<seealso cref="M:NMoneys.Extensions.MoneyExtensions.ToMoney(System.Decimal,NMoneys.Currency)"/>
|
2193
|
+
</member>
|
2194
|
+
<member name="M:NMoneys.Extensions.MoneyExtensions.Currency(NMoneys.Money)">
|
2195
|
+
<summary>
|
2196
|
+
The currency instance of <paramref name="money"/>.
|
2197
|
+
</summary>
|
2198
|
+
<returns>The instance of <see cref="M:NMoneys.Extensions.MoneyExtensions.Currency(NMoneys.Money)"/> represented by <see cref="P:NMoneys.Money.CurrencyCode"/>.</returns>
|
2199
|
+
</member>
|
2109
2200
|
<member name="T:NMoneys.CharacterReference">
|
2110
2201
|
<summary>
|
2111
2202
|
Represents a reserved character in an HTML/XML document.
|
@@ -2250,6 +2341,48 @@
|
|
2250
2341
|
Allows ignore raising multiple events for single obsolete currency.
|
2251
2342
|
</summary>
|
2252
2343
|
</member>
|
2344
|
+
<member name="T:NMoneys.RemainderAllocator">
|
2345
|
+
<summary>
|
2346
|
+
Factory class for provided implementations of <see cref="T:NMoneys.Allocators.IRemainderAllocator"/>
|
2347
|
+
</summary>
|
2348
|
+
</member>
|
2349
|
+
<member name="F:NMoneys.RemainderAllocator.FirstToLast">
|
2350
|
+
<summary>
|
2351
|
+
Allocate the remainder to the first known recipient and keep going in order towards
|
2352
|
+
the last recipient until the remainder has been fully allocated.
|
2353
|
+
</summary>
|
2354
|
+
<remarks>
|
2355
|
+
In the case of a dollar split three ways the extra penny to the first receipient
|
2356
|
+
and the allocation is done.
|
2357
|
+
</remarks>
|
2358
|
+
</member>
|
2359
|
+
<member name="F:NMoneys.RemainderAllocator.LastToFirst">
|
2360
|
+
<summary>
|
2361
|
+
Allocate the remainder to the last known recipient and keep going in order towards
|
2362
|
+
the first recipient until the remainder has been fully allocated.
|
2363
|
+
</summary>
|
2364
|
+
<remarks>
|
2365
|
+
In the case of a dollar split three ways the extra penny to the first receipient
|
2366
|
+
and the allocation is done.
|
2367
|
+
</remarks>
|
2368
|
+
</member>
|
2369
|
+
<member name="F:NMoneys.RemainderAllocator.Random">
|
2370
|
+
<summary>
|
2371
|
+
Allocate the remainder to a randomly selected recipient and keep going using another randomly
|
2372
|
+
selected recipient until the remainder has been fully allocated.
|
2373
|
+
</summary>
|
2374
|
+
<remarks>
|
2375
|
+
In the case of the dollar split three ways randomly, the recipient that gets the extra penny is indeterminate.
|
2376
|
+
<para>
|
2377
|
+
This <see cref="T:NMoneys.Allocators.IRemainderAllocator"/> is much slower than either <see cref="T:NMoneys.Allocators.FirstToLastAllocator"/>
|
2378
|
+
or <see cref="T:NMoneys.Allocators.LastToFirstAllocator"/>. In addition, this particular implementation *could* arguably
|
2379
|
+
be made even more random. See the referenced links for some other implementation ideas that might
|
2380
|
+
enhance perf and/or randomness.
|
2381
|
+
</para>
|
2382
|
+
<seealso href="http://stackoverflow.com/questions/48087/select-a-random-n-elements-from-listt-in-c-sharp"/>
|
2383
|
+
<seealso href="http://www.fsmpi.uni-bayreuth.de/~dun3/archives/return-random-subset-of-n-elements-of-a-given-array/98.html"/>
|
2384
|
+
</remarks>
|
2385
|
+
</member>
|
2253
2386
|
<member name="T:NMoneys.Serialization.CurrencyCodeConverter">
|
2254
2387
|
<summary>
|
2255
2388
|
Provides JavaScript Object Notation (JSON) format conversions for <see cref="T:NMoneys.CurrencyIsoCode"/>.
|
@@ -3156,6 +3289,28 @@
|
|
3156
3289
|
<returns>a <see cref="T:NMoneys.Money"/> with <see cref="P:NMoneys.Money.Amount"/> as the result of applying <paramref name="unaryOperation"/> to the previous <see cref="P:NMoneys.Money.Amount"/>.</returns>
|
3157
3290
|
<exception cref="T:System.ArgumentNullException"><paramref name="unaryOperation"/> is null.</exception>
|
3158
3291
|
</member>
|
3292
|
+
<member name="M:NMoneys.Money.Allocate(System.Int32,NMoneys.Allocators.IRemainderAllocator)">
|
3293
|
+
<summary>
|
3294
|
+
Allocates the sum of money fully and 'fairly', delegating the distribution of whichever remainder after
|
3295
|
+
allocating the highest fair amount amongst the recipients to the provided <paramref name="allocator"/>.
|
3296
|
+
</summary>
|
3297
|
+
<remarks>
|
3298
|
+
<para>
|
3299
|
+
A sum of money that can be allocated to each recipient exactly evenly is inherently 'fair'. For example, a US
|
3300
|
+
Dollar split four (4) ways leaves each recipient with 25 cents.</para>
|
3301
|
+
<para>
|
3302
|
+
A US Dollar split three (3) ways cannot be distributed evenly and is therefore inherently 'unfair'. The
|
3303
|
+
best we can do is minimize the amount of the remainder (in this case a cent) and allocate it in a way
|
3304
|
+
that seems random and thus fair to the recipients.</para>
|
3305
|
+
<para>The precision to use for rounding will be the <see cref="P:NMoneys.Currency.SignificantDecimalDigits"/>
|
3306
|
+
of the currency represented by <see cref="P:NMoneys.Money.CurrencyCode"/>.</para>
|
3307
|
+
</remarks>
|
3308
|
+
<param name="numberOfRecipients">The number of times to split up the total.</param>
|
3309
|
+
<param name="allocator">The <see cref="T:NMoneys.Allocators.IRemainderAllocator"/> that will distribute the remainder after an even split.</param>
|
3310
|
+
<returns>The results of the allocation as an array with a length equal to <paramref name="numberOfRecipients"/>.</returns>
|
3311
|
+
<exception cref="T:System.ArithmeticException">The <paramref name="allocator"/> did not distributed all the remainder.</exception>
|
3312
|
+
<seealso cref="T:NMoneys.Allocators.IRemainderAllocator"/>
|
3313
|
+
</member>
|
3159
3314
|
<member name="M:NMoneys.Money.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
3160
3315
|
<summary>
|
3161
3316
|
Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo"/> with the data needed to serialize the target object.
|
@@ -3307,6 +3462,13 @@
|
|
3307
3462
|
<para>For example, 'EUR 2.35' will return a minor amount of 235, since EUR has 2 significant decimal values.
|
3308
3463
|
'BHD -1.345' will return -1345.</para></remarks>
|
3309
3464
|
</member>
|
3465
|
+
<member name="P:NMoneys.Money.MinValue">
|
3466
|
+
<summary>
|
3467
|
+
Represents the smallest quantity that couldn be represented using the currency corresponding to <see cref="P:NMoneys.Money.CurrencyCode"/>.
|
3468
|
+
<seealso cref="P:NMoneys.Currency.MinAmount"/>
|
3469
|
+
<seealso cref="P:NMoneys.Currency.SignificantDecimalDigits"/>
|
3470
|
+
</summary>
|
3471
|
+
</member>
|
3310
3472
|
<member name="P:NMoneys.Money.HasDecimals">
|
3311
3473
|
<summary>
|
3312
3474
|
Specifies whether the <see cref="P:NMoneys.Money.Amount"/> is not a whole number.
|
metadata
CHANGED
@@ -1,67 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: nmoneys
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 2
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
- 20110901
|
11
|
-
version: 2.1.0.0.20110901
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.0.0.20120213
|
5
|
+
prerelease:
|
12
6
|
platform: ruby
|
13
|
-
authors:
|
7
|
+
authors:
|
14
8
|
- Daniel Gonzalez Garcia
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2011-09-01 00:00:00 +02:00
|
20
|
-
default_executable:
|
12
|
+
date: 2012-02-13 00:00:00.000000000 Z
|
21
13
|
dependencies: []
|
22
|
-
|
23
|
-
|
14
|
+
description: NMoneys is an implementation of the Money Value Object to support representing
|
15
|
+
moneys in the currencies defined in the ISO 4217 standard
|
24
16
|
email: nmoneys@googlegroups.com
|
25
17
|
executables: []
|
26
|
-
|
27
18
|
extensions: []
|
28
|
-
|
29
19
|
extra_rdoc_files: []
|
30
|
-
|
31
|
-
files:
|
20
|
+
files:
|
32
21
|
- lib/NMoneys.dll
|
33
22
|
- lib/NMoneys.xml
|
34
|
-
has_rdoc: true
|
35
23
|
homepage: http://code.google.com/p/nmoneys/
|
36
24
|
licenses: []
|
37
|
-
|
38
25
|
post_install_message:
|
39
26
|
rdoc_options: []
|
40
|
-
|
41
|
-
require_paths:
|
27
|
+
require_paths:
|
42
28
|
- lib
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
30
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
50
|
-
version: "0"
|
51
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
36
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
- 0
|
58
|
-
version: "0"
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
59
41
|
requirements: []
|
60
|
-
|
61
42
|
rubyforge_project: nmoneys
|
62
|
-
rubygems_version: 1.
|
43
|
+
rubygems_version: 1.8.11
|
63
44
|
signing_key:
|
64
45
|
specification_version: 3
|
65
46
|
summary: NMoneys - .Net implementation of Money Value Object
|
66
47
|
test_files: []
|
67
|
-
|