nmoneys 1.3.1.0.20110224 → 1.4.0.0.20110317
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/NMoneys.XML +123 -67
- data/lib/NMoneys.dll +0 -0
- metadata +5 -5
data/lib/NMoneys.XML
CHANGED
@@ -285,6 +285,24 @@
|
|
285
285
|
</list>
|
286
286
|
</returns>
|
287
287
|
</member>
|
288
|
+
<member name="M:NMoneys.Currency.op_LessThan(NMoneys.Currency,NMoneys.Currency)">
|
289
|
+
<summary>
|
290
|
+
Returns a value indicating whether a specified <see cref="T:NMoneys.Currency"/> is less than another specified <see cref="T:NMoneys.Currency"/>.
|
291
|
+
</summary>
|
292
|
+
<param name="left">The first value to compare.</param>
|
293
|
+
<param name="right">The second value to compare.</param>
|
294
|
+
<returns>true if <paramref name="left"/> is less than <paramref name="right"/>; otherwise, false.</returns>
|
295
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="left"/> is null.</exception>
|
296
|
+
</member>
|
297
|
+
<member name="M:NMoneys.Currency.op_GreaterThan(NMoneys.Currency,NMoneys.Currency)">
|
298
|
+
<summary>
|
299
|
+
Returns a value indicating whether a specified <see cref="T:NMoneys.Currency"/> is greater than or equal to another specified <see cref="T:NMoneys.Currency"/>.
|
300
|
+
</summary>
|
301
|
+
<param name="left">The first value to compare.</param>
|
302
|
+
<param name="right">The second value to compare.</param>
|
303
|
+
<returns>true if <paramref name="left"/> is greater than or equal to <paramref name="right"/>; otherwise, false.</returns>
|
304
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="left"/> is null.</exception>
|
305
|
+
</member>
|
288
306
|
<member name="M:NMoneys.Currency.GetFormat(System.Type)">
|
289
307
|
<summary>
|
290
308
|
Returns an object that provides formatting services for the specified type.
|
@@ -309,7 +327,7 @@
|
|
309
327
|
<param name="isoCode">ISO 4217 code.</param>
|
310
328
|
<returns>The instance of <see cref="T:NMoneys.Currency"/> represented by the <paramref name="isoCode"/>.</returns>
|
311
329
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="isoCode"/> does not exist in the <see cref="T:NMoneys.CurrencyIsoCode"/> enumeration.</exception>
|
312
|
-
<exception cref="T:NMoneys.
|
330
|
+
<exception cref="T:NMoneys.MisconfiguredCurrencyException">The currency represented by <paramref name="isoCode"/> has not been properly configured by the library implementor. Please, log a issue.</exception>
|
313
331
|
</member>
|
314
332
|
<member name="M:NMoneys.Currency.Get(System.String)">
|
315
333
|
<summary>
|
@@ -325,7 +343,7 @@
|
|
325
343
|
<param name="threeLetterIsoCode">A string representing a three-letter ISO 4217 code.</param>
|
326
344
|
<returns>The instance of <see cref="T:NMoneys.Currency"/> represented by the <paramref name="threeLetterIsoCode"/>.</returns>
|
327
345
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The <paramref name="threeLetterIsoCode"/> does not exist in the <see cref="T:NMoneys.CurrencyIsoCode"/> enumeration.</exception>
|
328
|
-
<exception cref="T:NMoneys.
|
346
|
+
<exception cref="T:NMoneys.MisconfiguredCurrencyException">The currency represented by <paramref name="threeLetterIsoCode"/> has not been properly configured by the library implementor. Please, log a issue.</exception>
|
329
347
|
</member>
|
330
348
|
<member name="M:NMoneys.Currency.Get(System.Globalization.CultureInfo)">
|
331
349
|
<summary>
|
@@ -344,10 +362,10 @@
|
|
344
362
|
</remarks>
|
345
363
|
<param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> from which retrieve the associated currency.</param>
|
346
364
|
<returns>The instance of <see cref="T:NMoneys.Currency"/> from to the region associated to the <paramref name="culture"/>.</returns>
|
347
|
-
<exception cref="T:System.ArgumentNullException"
|
348
|
-
<exception cref="T:System.ArgumentException"
|
365
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="culture"/> is null.</exception>
|
366
|
+
<exception cref="T:System.ArgumentException"><paramref name="culture"/> is either an invariant, custom or neutral culture, or a <see cref="T:System.Globalization.RegionInfo"/> cannot be instantiated from it.</exception>
|
349
367
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The ISO symbol associated to the <paramref name="culture"/> does not exist in the <see cref="T:NMoneys.CurrencyIsoCode"/> enumeration.</exception>
|
350
|
-
<exception cref="T:NMoneys.
|
368
|
+
<exception cref="T:NMoneys.MisconfiguredCurrencyException">The currency associated to the <paramref name="culture"/> has not been properly configured by the library implementor. Please, log a issue.</exception>
|
351
369
|
</member>
|
352
370
|
<member name="M:NMoneys.Currency.Get(System.Globalization.RegionInfo)">
|
353
371
|
<summary>
|
@@ -365,9 +383,9 @@
|
|
365
383
|
</remarks>
|
366
384
|
<param name="region">A <see cref="T:System.Globalization.RegionInfo"/> from which retrieve the associated currency.</param>
|
367
385
|
<returns>The instance of <see cref="T:NMoneys.Currency"/> corresponding to the region.</returns>
|
368
|
-
<exception cref="T:System.ArgumentNullException"
|
386
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="region"/> is null.</exception>
|
369
387
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The ISO symbol associated to the <paramref name="region"/> does not exist in the <see cref="T:NMoneys.CurrencyIsoCode"/> enumeration.</exception>
|
370
|
-
<exception cref="T:NMoneys.
|
388
|
+
<exception cref="T:NMoneys.MisconfiguredCurrencyException">The currency associated to the <paramref name="region"/> has not been properly configured by the library implementor. Please, log a issue.</exception>
|
371
389
|
</member>
|
372
390
|
<member name="M:NMoneys.Currency.TryGet(NMoneys.CurrencyIsoCode,NMoneys.Currency@)">
|
373
391
|
<summary>
|
@@ -484,6 +502,7 @@
|
|
484
502
|
</summary>
|
485
503
|
<param name="xs">A cache of XML Schema definition language (XSD) schemas.</param>
|
486
504
|
<returns>Represents the complexType element from XML Schema as specified by the <paramref name="xs"/>.</returns>
|
505
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="xs"/> is null.</exception>
|
487
506
|
</member>
|
488
507
|
<member name="M:NMoneys.Currency.ReadXml(System.Xml.XmlReader)">
|
489
508
|
<summary>
|
@@ -496,36 +515,7 @@
|
|
496
515
|
Converts an object into its XML representation.
|
497
516
|
</summary>
|
498
517
|
<param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized.</param>
|
499
|
-
|
500
|
-
<member name="F:NMoneys.Currency.ObsoleteCurrency">
|
501
|
-
<summary>
|
502
|
-
Occurs when an obsolete currency is created.
|
503
|
-
</summary>
|
504
|
-
<remarks>
|
505
|
-
Do remember to unsubscribe from this event when you are no longer insterested it its ocurrence.
|
506
|
-
Failing to do so can prevent your objects from being garbage collected and result in a memory leak.
|
507
|
-
<para>By its static nature, the notification is available even when no instance of the class is existing yet.
|
508
|
-
This very same nature will cause that subscribers are notified for ocurrences that are "far" from the code that is likely to raise an event in concurrent systems.
|
509
|
-
For example, another thread could make the event to raise and a totally unrelated code will get the notification. This may well be the desired effect,
|
510
|
-
but awareness need to be raised for when it is not the desired effect.</para>
|
511
|
-
<para>Currencies are transient entities in the real world, getting deprecated and/or substituted.
|
512
|
-
When a currency that is no longer current is created this event will be raised. This can happen in a number of cases:
|
513
|
-
<list type="bullet">
|
514
|
-
<item><description>A <see cref="T:NMoneys.Currency"/> factory method is used.</description></item>
|
515
|
-
<item><description>A <see cref="T:NMoneys.Currency"/> instance gets deserialized.</description></item>
|
516
|
-
<item><description>A <see cref="T:NMoneys.Money"/> instance gets created.</description></item>
|
517
|
-
<item><description>A <see cref="T:NMoneys.Money"/> instance gets deserialized.</description></item>
|
518
|
-
</list>
|
519
|
-
</para>
|
520
|
-
</remarks>
|
521
|
-
<seealso cref="M:NMoneys.Currency.Get(NMoneys.CurrencyIsoCode)"/>
|
522
|
-
<seealso cref="M:NMoneys.Currency.Get(System.String)"/>
|
523
|
-
<seealso cref="M:NMoneys.Currency.Get(System.Globalization.CultureInfo)"/>
|
524
|
-
<seealso cref="M:NMoneys.Currency.Get(System.Globalization.RegionInfo)"/>
|
525
|
-
<seealso cref="M:NMoneys.Currency.TryGet(NMoneys.CurrencyIsoCode,NMoneys.Currency@)"/>
|
526
|
-
<seealso cref="M:NMoneys.Currency.TryGet(System.String,NMoneys.Currency@)"/>
|
527
|
-
<seealso cref="M:NMoneys.Currency.TryGet(System.Globalization.CultureInfo,NMoneys.Currency@)"/>
|
528
|
-
<seealso cref="M:NMoneys.Currency.TryGet(System.Globalization.RegionInfo,NMoneys.Currency@)"/>
|
518
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="writer"/> is null.</exception>
|
529
519
|
</member>
|
530
520
|
<member name="P:NMoneys.Currency.IsoCode">
|
531
521
|
<summary>
|
@@ -611,6 +601,36 @@
|
|
611
601
|
<remarks>Not all currencies have an character reference.
|
612
602
|
For those who does not have one, a <see cref="F:NMoneys.CharacterReference.Empty"/> instance is returned.</remarks>
|
613
603
|
</member>
|
604
|
+
<member name="E:NMoneys.Currency.ObsoleteCurrency">
|
605
|
+
<summary>
|
606
|
+
Occurs when an obsolete currency is created.
|
607
|
+
</summary>
|
608
|
+
<remarks>
|
609
|
+
Do remember to unsubscribe from this event when you are no longer insterested it its ocurrence.
|
610
|
+
Failing to do so can prevent your objects from being garbage collected and result in a memory leak.
|
611
|
+
<para>By its static nature, the notification is available even when no instance of the class is existing yet.
|
612
|
+
This very same nature will cause that subscribers are notified for ocurrences that are "far" from the code that is likely to raise an event in concurrent systems.
|
613
|
+
For example, another thread could make the event to raise and a totally unrelated code will get the notification. This may well be the desired effect,
|
614
|
+
but awareness need to be raised for when it is not the desired effect.</para>
|
615
|
+
<para>Currencies are transient entities in the real world, getting deprecated and/or substituted.
|
616
|
+
When a currency that is no longer current is created this event will be raised. This can happen in a number of cases:
|
617
|
+
<list type="bullet">
|
618
|
+
<item><description>A <see cref="T:NMoneys.Currency"/> factory method is used.</description></item>
|
619
|
+
<item><description>A <see cref="T:NMoneys.Currency"/> instance gets deserialized.</description></item>
|
620
|
+
<item><description>A <see cref="T:NMoneys.Money"/> instance gets created.</description></item>
|
621
|
+
<item><description>A <see cref="T:NMoneys.Money"/> instance gets deserialized.</description></item>
|
622
|
+
</list>
|
623
|
+
</para>
|
624
|
+
</remarks>
|
625
|
+
<seealso cref="M:NMoneys.Currency.Get(NMoneys.CurrencyIsoCode)"/>
|
626
|
+
<seealso cref="M:NMoneys.Currency.Get(System.String)"/>
|
627
|
+
<seealso cref="M:NMoneys.Currency.Get(System.Globalization.CultureInfo)"/>
|
628
|
+
<seealso cref="M:NMoneys.Currency.Get(System.Globalization.RegionInfo)"/>
|
629
|
+
<seealso cref="M:NMoneys.Currency.TryGet(NMoneys.CurrencyIsoCode,NMoneys.Currency@)"/>
|
630
|
+
<seealso cref="M:NMoneys.Currency.TryGet(System.String,NMoneys.Currency@)"/>
|
631
|
+
<seealso cref="M:NMoneys.Currency.TryGet(System.Globalization.CultureInfo,NMoneys.Currency@)"/>
|
632
|
+
<seealso cref="M:NMoneys.Currency.TryGet(System.Globalization.RegionInfo,NMoneys.Currency@)"/>
|
633
|
+
</member>
|
614
634
|
<member name="T:NMoneys.CurrencyCharacterReferences">
|
615
635
|
<summary>
|
616
636
|
Represents all reserved currency characters in an HTML/XML document.
|
@@ -1616,6 +1636,11 @@
|
|
1616
1636
|
Platinum
|
1617
1637
|
</summary>
|
1618
1638
|
</member>
|
1639
|
+
<member name="F:NMoneys.CurrencyIsoCode.XSU">
|
1640
|
+
<summary>
|
1641
|
+
Sucre
|
1642
|
+
</summary>
|
1643
|
+
</member>
|
1619
1644
|
<member name="F:NMoneys.CurrencyIsoCode.XTS">
|
1620
1645
|
<summary>
|
1621
1646
|
Test currency
|
@@ -1689,40 +1714,40 @@
|
|
1689
1714
|
<remarks>It is a delegate as we do not want to use their value within the progrma but just as a support
|
1690
1715
|
to the tools that compare the information in the .NET Framework with the information in the Xml.</remarks>
|
1691
1716
|
</member>
|
1692
|
-
<member name="T:NMoneys.
|
1717
|
+
<member name="T:NMoneys.MisconfiguredCurrencyException">
|
1693
1718
|
<summary>
|
1694
1719
|
The exception that is thrown when a currency has not been properly configured.
|
1695
1720
|
</summary>
|
1696
1721
|
</member>
|
1697
|
-
<member name="M:NMoneys.
|
1722
|
+
<member name="M:NMoneys.MisconfiguredCurrencyException.#ctor(NMoneys.CurrencyIsoCode)">
|
1698
1723
|
<summary>
|
1699
|
-
Initializes a new instance of <see cref="T:NMoneys.
|
1724
|
+
Initializes a new instance of <see cref="T:NMoneys.MisconfiguredCurrencyException"/>.
|
1700
1725
|
</summary>
|
1701
1726
|
<param name="isoCode">The currency which is missconfigured.</param>
|
1702
1727
|
</member>
|
1703
|
-
<member name="M:NMoneys.
|
1728
|
+
<member name="M:NMoneys.MisconfiguredCurrencyException.#ctor">
|
1704
1729
|
<summary>
|
1705
|
-
Initializes a new instance of <see cref="T:NMoneys.
|
1730
|
+
Initializes a new instance of <see cref="T:NMoneys.MisconfiguredCurrencyException"/>.
|
1706
1731
|
</summary>
|
1707
1732
|
</member>
|
1708
|
-
<member name="M:NMoneys.
|
1733
|
+
<member name="M:NMoneys.MisconfiguredCurrencyException.#ctor(System.String)">
|
1709
1734
|
<summary>
|
1710
|
-
Initializes a new instance of <see cref="T:NMoneys.
|
1735
|
+
Initializes a new instance of <see cref="T:NMoneys.MisconfiguredCurrencyException"/>.
|
1711
1736
|
</summary>
|
1712
1737
|
<param name="message">A message that describes why this exception was thrown.</param>
|
1713
1738
|
</member>
|
1714
|
-
<member name="M:NMoneys.
|
1739
|
+
<member name="M:NMoneys.MisconfiguredCurrencyException.#ctor(System.String,System.Exception)">
|
1715
1740
|
<summary>
|
1716
|
-
Initializes a new instance of <see cref="T:NMoneys.
|
1741
|
+
Initializes a new instance of <see cref="T:NMoneys.MisconfiguredCurrencyException"/>.
|
1717
1742
|
</summary>
|
1718
1743
|
<param name="message">A message that describes why this exception was thrown.</param>
|
1719
1744
|
<param name="inner">The exception that caused this exception to be thrown.</param>
|
1720
1745
|
</member>
|
1721
|
-
<member name="M:NMoneys.
|
1746
|
+
<member name="M:NMoneys.MisconfiguredCurrencyException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
1722
1747
|
<summary>
|
1723
|
-
Initializes a new instace of <see cref="T:NMoneys.
|
1748
|
+
Initializes a new instace of <see cref="T:NMoneys.MisconfiguredCurrencyException"/> with serialized data
|
1724
1749
|
</summary>
|
1725
|
-
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the <see cref="T:NMoneys.
|
1750
|
+
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the <see cref="T:NMoneys.MisconfiguredCurrencyException"/>.</param>
|
1726
1751
|
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
1727
1752
|
</member>
|
1728
1753
|
<member name="T:NMoneys.DifferentCurrencyException">
|
@@ -2028,6 +2053,7 @@
|
|
2028
2053
|
or in its "simple name" form (e.g. <code>name</code>).
|
2029
2054
|
<para>Names (<see cref="P:NMoneys.CharacterReference.EntityName"/> and <see cref="P:NMoneys.CharacterReference.SimpleName"/>) are stored as lower-case, independently of the casing they were provided.</para></remarks>
|
2030
2055
|
<param name="entityName">The name of the reference.</param>
|
2056
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="entityName"/> is null.</exception>
|
2031
2057
|
</member>
|
2032
2058
|
<member name="M:NMoneys.CharacterReference.ToString">
|
2033
2059
|
<summary>
|
@@ -2045,6 +2071,7 @@
|
|
2045
2071
|
<param name="entityName">Name of the entity.</param>
|
2046
2072
|
<returns>true if <paramref name="entityName"/> does starts with <code>'&'</code> and ends with <code>';'</code>;
|
2047
2073
|
otherwise, false</returns>
|
2074
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="entityName"/> is null.</exception>
|
2048
2075
|
</member>
|
2049
2076
|
<member name="M:NMoneys.CharacterReference.Equals(NMoneys.CharacterReference)">
|
2050
2077
|
<summary>
|
@@ -2128,7 +2155,7 @@
|
|
2128
2155
|
</member>
|
2129
2156
|
<member name="T:NMoneys.ObsoleteCurrencyEventArgs">
|
2130
2157
|
<summary>
|
2131
|
-
Provides data for the <see cref="
|
2158
|
+
Provides data for the <see cref="E:NMoneys.Currency.ObsoleteCurrency"/> event.
|
2132
2159
|
</summary>
|
2133
2160
|
</member>
|
2134
2161
|
<member name="M:NMoneys.ObsoleteCurrencyEventArgs.#ctor(NMoneys.CurrencyIsoCode)">
|
@@ -2272,6 +2299,7 @@
|
|
2272
2299
|
</summary>
|
2273
2300
|
<param name="tokenizedSizes">Space-tokenized representation of the number of digits in each group to the left of the decimal in a number.</param>
|
2274
2301
|
<returns>Instance with all representations of the number of digits in each group.</returns>
|
2302
|
+
/// <exception cref="T:System.ArgumentNullException"><paramref name="tokenizedSizes"/> is null.</exception>
|
2275
2303
|
</member>
|
2276
2304
|
<member name="M:NMoneys.Support.GroupSizes.FromSizes(System.Int32[])">
|
2277
2305
|
<summary>
|
@@ -2317,6 +2345,7 @@
|
|
2317
2345
|
</summary>
|
2318
2346
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2319
2347
|
<param name="currency">The incarnation of the <see cref="P:NMoneys.Money.CurrencyCode"/>.</param>
|
2348
|
+
<exception cref="T:System.ArgumentNullException">If <paramref name="currency"/> is null.</exception>
|
2320
2349
|
</member>
|
2321
2350
|
<member name="M:NMoneys.Money.#ctor(System.Decimal,System.String)">
|
2322
2351
|
<summary>
|
@@ -2353,7 +2382,7 @@
|
|
2353
2382
|
<returns>An instance of <see cref="T:NMoneys.Money"/> with the <paramref name="amount"/> specified and the currency associated to the current culture.</returns>
|
2354
2383
|
/// <exception cref="T:System.ArgumentException">The current is either an invariant or custom, or a <see cref="T:System.Globalization.RegionInfo"/> cannot be instantiated from it.</exception>
|
2355
2384
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The ISO symbol associated to the current culture does not exist in the <see cref="T:NMoneys.CurrencyIsoCode"/> enumeration.</exception>
|
2356
|
-
<exception cref="T:NMoneys.
|
2385
|
+
<exception cref="T:NMoneys.MisconfiguredCurrencyException">The currency associated to the current culture has not been properly configured by the library implementor. Please, log a issue.</exception>
|
2357
2386
|
</member>
|
2358
2387
|
<member name="M:NMoneys.Money.ForCulture(System.Decimal,System.Globalization.CultureInfo)">
|
2359
2388
|
<summary>
|
@@ -2366,10 +2395,10 @@
|
|
2366
2395
|
<param name="amount">The <see cref="P:NMoneys.Money.Amount"/> of the monetary quantity.</param>
|
2367
2396
|
<param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> from which retrieve the associated currency.</param>
|
2368
2397
|
<returns>An instance of <see cref="T:NMoneys.Money"/> with the <paramref name="amount"/> specified and the currency associated to the specified <paramref name="culture"/>.</returns>
|
2369
|
-
<exception cref="T:System.ArgumentNullException"
|
2370
|
-
<exception cref="T:System.ArgumentException"
|
2398
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="culture"/> is null.</exception>
|
2399
|
+
<exception cref="T:System.ArgumentException"><paramref name="culture"/> is either an invariant, custom or neutral culture, or a <see cref="T:System.Globalization.RegionInfo"/> cannot be instantiated from it.</exception>
|
2371
2400
|
<exception cref="T:System.ComponentModel.InvalidEnumArgumentException">The ISO symbol associated to the <paramref name="culture"/> does not exist in the <see cref="T:NMoneys.CurrencyIsoCode"/> enumeration.</exception>
|
2372
|
-
<exception cref="T:NMoneys.
|
2401
|
+
<exception cref="T:NMoneys.MisconfiguredCurrencyException">The currency associated to the <paramref name="culture"/> has not been properly configured by the library implementor. Please, log a issue.</exception>
|
2373
2402
|
</member>
|
2374
2403
|
<member name="M:NMoneys.Money.Zero">
|
2375
2404
|
<summary>
|
@@ -2431,7 +2460,7 @@
|
|
2431
2460
|
<param name="amountMajor">The <see cref="P:NMoneys.Money.Amount"/> in the major division of the currency.</param>
|
2432
2461
|
<param name="currency">The incarnation of the <see cref="P:NMoneys.Money.CurrencyCode"/>.</param>
|
2433
2462
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amountMajor"/> and <paramref name="currency"/>.</returns>
|
2434
|
-
<exception cref="T:System.ArgumentNullException"
|
2463
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="currency"/> is null.</exception>
|
2435
2464
|
</member>
|
2436
2465
|
<member name="M:NMoneys.Money.ForMajor(System.Int64,System.String)">
|
2437
2466
|
<summary>
|
@@ -2476,7 +2505,7 @@
|
|
2476
2505
|
<param name="amountMinor">The <see cref="P:NMoneys.Money.Amount"/> in the minor division of the currency.</param>
|
2477
2506
|
<param name="currency">The incarnation of the <see cref="P:NMoneys.Money.CurrencyCode"/>.</param>
|
2478
2507
|
<returns>A <see cref="T:NMoneys.Money"/> with the specified <paramref name="amountMinor"/> and <paramref name="currency"/>.</returns>
|
2479
|
-
<exception cref="T:System.ArgumentNullException"
|
2508
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="currency"/> is null.</exception>
|
2480
2509
|
</member>
|
2481
2510
|
<member name="M:NMoneys.Money.ForMinor(System.Int64,System.String)">
|
2482
2511
|
<summary>
|
@@ -2511,8 +2540,8 @@
|
|
2511
2540
|
<param name="moneys">A not null and not empty collection of moneys.</param>
|
2512
2541
|
<returns>An <see cref="T:NMoneys.Money"/> instance which <see cref="P:NMoneys.Money.Amount"/> is the sum of all amounts of the moneys in the collection,
|
2513
2542
|
and <see cref="T:NMoneys.Currency"/> the same as all the moneys in the collection.</returns>
|
2514
|
-
|
2515
|
-
<exception cref="T:System.ArgumentException"
|
2543
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="moneys"/> is null.</exception>
|
2544
|
+
<exception cref="T:System.ArgumentException"><paramref name="moneys"/> is empty.</exception>
|
2516
2545
|
<exception cref="T:NMoneys.DifferentCurrencyException">If any of the currencies of <paramref name="moneys"/> differ.</exception>
|
2517
2546
|
</member>
|
2518
2547
|
<member name="F:NMoneys.Money._currencyCode">
|
@@ -2520,12 +2549,6 @@
|
|
2520
2549
|
DO NOT USE the field directly. Use <see cref="P:NMoneys.Money.CurrencyCode"/>.
|
2521
2550
|
</summary>
|
2522
2551
|
</member>
|
2523
|
-
<member name="M:NMoneys.Money.ensureNotDefault">
|
2524
|
-
<summary>
|
2525
|
-
As <see cref="T:NMoneys.CurrencyIsoCode"/> is a non-zero based enumeration, we have to protect against default instances
|
2526
|
-
by setting the code to a defined currency if it is the default one.
|
2527
|
-
</summary>
|
2528
|
-
</member>
|
2529
2552
|
<member name="M:NMoneys.Money.ToString">
|
2530
2553
|
<summary>
|
2531
2554
|
Converts the numeric value of the <see cref="P:NMoneys.Money.Amount"/> to its equivalent string representation using an instance of the <see cref="T:NMoneys.Currency"/>
|
@@ -2851,6 +2874,20 @@
|
|
2851
2874
|
<exception cref="T:System.OverflowException">The <see cref="P:NMoneys.Money.Amount"/> of the result is less than
|
2852
2875
|
<see cref="F:System.Decimal.MinValue"/> or greater than <see cref="F:System.Decimal.MaxValue"/>.</exception>
|
2853
2876
|
</member>
|
2877
|
+
<member name="M:NMoneys.Money.Add(NMoneys.Money,NMoneys.Money)">
|
2878
|
+
<summary>
|
2879
|
+
Adds two specified <see cref="T:NMoneys.Money"/> values.
|
2880
|
+
</summary>
|
2881
|
+
<remarks>Both instances must have the same <see cref="P:NMoneys.Money.CurrencyCode"/> in order to be added, otherwise an exception will be thrown.</remarks>
|
2882
|
+
<param name="first">The first value to add.</param>
|
2883
|
+
<param name="second">The second value to add.</param>
|
2884
|
+
<returns>A <see cref="T:NMoneys.Money"/> with <see cref="P:NMoneys.Money.Amount"/> as the sum of <paramref name="first"/> and <paramref name="second"/> amounts
|
2885
|
+
and the same <see cref="P:NMoneys.Money.CurrencyCode"/> as any of the arguments.</returns>
|
2886
|
+
<exception cref="T:NMoneys.DifferentCurrencyException">If <paramref name="first"/> does not have the same <see cref="P:NMoneys.Money.CurrencyCode"/>
|
2887
|
+
as <paramref name="second"/>.</exception>
|
2888
|
+
<exception cref="T:System.OverflowException">The <see cref="P:NMoneys.Money.Amount"/> of the result is less than
|
2889
|
+
<see cref="F:System.Decimal.MinValue"/> or greater than <see cref="F:System.Decimal.MaxValue"/>.</exception>
|
2890
|
+
</member>
|
2854
2891
|
<member name="M:NMoneys.Money.op_Subtraction(NMoneys.Money,NMoneys.Money)">
|
2855
2892
|
<summary>
|
2856
2893
|
Substracts one specified <see cref="T:NMoneys.Money"/> from another.
|
@@ -2865,6 +2902,20 @@
|
|
2865
2902
|
<exception cref="T:System.OverflowException">The <see cref="P:NMoneys.Money.Amount"/> of the result is less than
|
2866
2903
|
<see cref="F:System.Decimal.MinValue"/> or greater than <see cref="F:System.Decimal.MaxValue"/>.</exception>
|
2867
2904
|
</member>
|
2905
|
+
<member name="M:NMoneys.Money.Subtract(NMoneys.Money,NMoneys.Money)">
|
2906
|
+
<summary>
|
2907
|
+
Substracts one specified <see cref="T:NMoneys.Money"/> from another.
|
2908
|
+
</summary>
|
2909
|
+
<remarks>Both instances must have the same <see cref="P:NMoneys.Money.CurrencyCode"/> in order to be substracted, otherwise an exception will be thrown.</remarks>
|
2910
|
+
<param name="first">The minuend.</param>
|
2911
|
+
<param name="second">The subtrahend.</param>
|
2912
|
+
<returns>A <see cref="T:NMoneys.Money"/> with <see cref="P:NMoneys.Money.Amount"/> as the result of substracting <paramref name="second"/> from <paramref name="first"/> amounts
|
2913
|
+
and the same <see cref="P:NMoneys.Money.CurrencyCode"/> as any of the arguments.</returns>
|
2914
|
+
<exception cref="T:NMoneys.DifferentCurrencyException">If <paramref name="first"/> does not have the same <see cref="P:NMoneys.Money.CurrencyCode"/>
|
2915
|
+
as <paramref name="second"/>.</exception>
|
2916
|
+
<exception cref="T:System.OverflowException">The <see cref="P:NMoneys.Money.Amount"/> of the result is less than
|
2917
|
+
<see cref="F:System.Decimal.MinValue"/> or greater than <see cref="F:System.Decimal.MaxValue"/>.</exception>
|
2918
|
+
</member>
|
2868
2919
|
<member name="M:NMoneys.Money.Plus(NMoneys.Money)">
|
2869
2920
|
<summary>
|
2870
2921
|
Adds two specified <see cref="T:NMoneys.Money"/> values.
|
@@ -2914,7 +2965,7 @@
|
|
2914
2965
|
</summary>
|
2915
2966
|
<param name="numberFormat">Specifies the number of significant decimal digits.</param>
|
2916
2967
|
<returns>A <see cref="T:NMoneys.Money"/> with the <see cref="P:NMoneys.Money.Amount"/> truncated to the significant number of decimal digits of <paramref name="numberFormat"/>.</returns>
|
2917
|
-
<exception cref="T:System.ArgumentNullException"
|
2968
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="numberFormat"/> is null.</exception>
|
2918
2969
|
</member>
|
2919
2970
|
<member name="M:NMoneys.Money.Truncate">
|
2920
2971
|
<summary>
|
@@ -3019,7 +3070,7 @@
|
|
3019
3070
|
<param name="binaryOperation">Arithmetical operation to perform.</param>
|
3020
3071
|
<returns>A <see cref="T:NMoneys.Money"/> with <see cref="P:NMoneys.Money.Amount"/> as the result of applying <paramref name="binaryOperation"/> to he old amount and
|
3021
3072
|
<paramref name="operand"/>'s amount.</returns>
|
3022
|
-
<exception cref="T:System.ArgumentNullException"
|
3073
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="binaryOperation"/> is null.</exception>
|
3023
3074
|
</member>
|
3024
3075
|
<member name="M:NMoneys.Money.Perform(System.Func{System.Decimal,System.Decimal})">
|
3025
3076
|
<summary>
|
@@ -3027,7 +3078,7 @@
|
|
3027
3078
|
</summary>
|
3028
3079
|
<param name="unaryOperation">Arithmetical operation to perform.</param>
|
3029
3080
|
<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>
|
3030
|
-
<exception cref="T:System.ArgumentNullException"
|
3081
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="unaryOperation"/> is null.</exception>
|
3031
3082
|
</member>
|
3032
3083
|
<member name="M:NMoneys.Money.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
3033
3084
|
<summary>
|
@@ -3050,18 +3101,21 @@
|
|
3050
3101
|
</summary>
|
3051
3102
|
<param name="xs">A cache of XML Schema definition language (XSD) schemas.</param>
|
3052
3103
|
<returns>Represents the complexType element from XML Schema as specified by the <paramref name="xs"/>.</returns>
|
3104
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="xs"/> is null.</exception>
|
3053
3105
|
</member>
|
3054
3106
|
<member name="M:NMoneys.Money.ReadXml(System.Xml.XmlReader)">
|
3055
3107
|
<summary>
|
3056
3108
|
Generates an object from its XML representation.
|
3057
3109
|
</summary>
|
3058
3110
|
<param name="reader">The <see cref="T:System.Xml.XmlReader"/> stream from which the object is deserialized.</param>
|
3111
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
|
3059
3112
|
</member>
|
3060
3113
|
<member name="M:NMoneys.Money.WriteXml(System.Xml.XmlWriter)">
|
3061
3114
|
<summary>
|
3062
3115
|
Converts an object into its XML representation.
|
3063
3116
|
</summary>
|
3064
3117
|
<param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized.</param>
|
3118
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="writer"/> is null.</exception>
|
3065
3119
|
</member>
|
3066
3120
|
<member name="M:NMoneys.Money.Parse(System.String,NMoneys.Currency)">
|
3067
3121
|
<summary>
|
@@ -3211,6 +3265,7 @@
|
|
3211
3265
|
</summary>
|
3212
3266
|
<param name="tokenizedCodePoints">Space-tokenized collection of code points (as strings) for each character of the symbol.</param>
|
3213
3267
|
<returns>Instace with the different representations of a complex Unicode symbol.</returns>
|
3268
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="tokenizedCodePoints"/> is null.</exception>
|
3214
3269
|
</member>
|
3215
3270
|
<member name="M:NMoneys.Support.UnicodeSymbol.FromSymbol(System.String)">
|
3216
3271
|
<summary>
|
@@ -3218,6 +3273,7 @@
|
|
3218
3273
|
</summary>
|
3219
3274
|
<param name="symbol">Complex unicode symbol.</param>
|
3220
3275
|
<returns>Instace with the different representations of a complex Unicode symbol.</returns>
|
3276
|
+
<exception cref="T:System.ArgumentNullException"><paramref name="symbol"/> is null.</exception>
|
3221
3277
|
</member>
|
3222
3278
|
<member name="P:NMoneys.Support.UnicodeSymbol.CodePoints">
|
3223
3279
|
<summary>
|
data/lib/NMoneys.dll
CHANGED
Binary file
|
metadata
CHANGED
@@ -4,11 +4,11 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
8
|
-
-
|
7
|
+
- 4
|
8
|
+
- 0
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 1.
|
10
|
+
- 20110317
|
11
|
+
version: 1.4.0.0.20110317
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Daniel Gonzalez Garcia
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-03-17 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|