C# idioms
Python.use(better, src=”IronPython”) # ソースコードを散策する
ソースコードの歩き方《IronPython 篇》
if statement
if-statement:
if ( boolean-expression ) embedded-statement
if ( boolean-expression ) embedded-statement else embedded-statement
boolean-expression:
expression
ICollection
public interface ICollection: IEnumerable , IEnumerable IEnumerator GetEnumerator()
IEnumeratorGetEnumerator()
- 2008-08-20 ソースコードの歩き方《IronPython》dict.keys
IDictionaryEnumerator
[ComVisibleAttribute(true)]
public interface IDictionaryEnumerator : IEnumeratorObject Current { get; }
Object Key { get; }
bool MoveNext()
Object Value { get; }
- 2008-09-26 ソースコードの歩き方《IronPython》dict.update 3/3
IEnumerator
[ComVisibleAttribute(true)]
[GuidAttribute("496B0ABF-CDEE-11d3-88E8-00902754C43A")]
public interface IEnumeratorbool MoveNext()
Object Current { get; }
- 2008-05-20 ソースコードの歩き方《IronPython》reduce 2/5
- 2008-05-21 ソースコードの歩き方《IronPython》reduce 3/5
- 2008-06-20 ソースコードの歩き方《IronPython》map 5/5
- 2008-09-26 ソースコードの歩き方《IronPython》dict.update 3/3
StringBuilder
[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class StringBuilder : ISerializablepublic StringBuilder()
public StringBuilder Append(
Object value
)
- 2008-09-22: ソースコードの歩き方《IronPython》dict.__str__ 2/3
- 2008-00-00 ソースコードの歩き方《IronPython》set.__str__ 0/0《in draft》2008年11月19日(水)
IDictionary
[ComVisibleAttribute(true)]
public interface IDictionary : ICollection, IEnumerableIDictionaryEnumerator GetEnumerator()
KeyValuePair
[SerializableAttribute]
public struct KeyValuePairpublic TKey Key { get; }
public TValue Value { get; }
- 2008-09-23: ソースコードの歩き方《IronPython》dict.__str__ 3/3
foreach statement
8.8.4 The foreach statement
foreach-statement:
foreach ( type identifier in expression ) embedded-statement
- 2008-08-22 ソースコードの歩き方《IronPython》dict.keys
- 2008-09-23 ソースコードの歩き方《IronPython》dict.__str__ 3/3
Dictionary
[ComVisibleAttribute(false)]
public class Dictionary: IDictionary ,
ICollection>, IEnumerable >,
IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallbackpublic Dictionary(
IEqualityComparercomparer
)
public bool ContainsKey(
TKey key
)
public int Count { get; }
public Dictionary<(Of <(TKey, TValue>)>)..::.KeyCollection Keys { get; }
public bool Remove(
TKey key
)
public bool TryGetValue(
TKey key,
out TValue value
)
typeof
typeof-expression:
typeof ( type )
typeof ( void )
- 2008-00-00 ソースコードの歩き方《IronPython》set.__str__ 0/0《in draft》2008年11月19日(水)