Esempio n. 1
0
 public bool IsPropertyThatIsNotNull(ISymbol property)
 {
     if (DictionaryValues != null && DictionaryValues.Equals(property.OriginalDefinition))
     {
         return(true);
     }
     if (DictionaryValues != null && DictionaryKeys.Equals(property.OriginalDefinition))
     {
         return(true);
     }
     if (ExternalNotNullMethods.Contains(property))
     {
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 public int GetPSFontValue(DictionaryKeys key, uint idx, ref IntPtr value, int valueLength)
 {
     return FT.FT_Get_PS_Font_Value(Reference, key, idx, ref value, valueLength);
 }
Esempio n. 3
0
 internal static extern int FT_Get_PS_Font_Value(IntPtr face, DictionaryKeys key, uint idx, ref IntPtr value, int value_len);
Esempio n. 4
0
 internal static extern int FT_Get_PS_Font_Value(IntPtr face, DictionaryKeys key, uint idx, ref IntPtr value, int value_len);
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Collections.Generic.Dictionary`2"/> class that is empty, has the default initial capacity, and uses the specified <see cref="T:System.Collections.Generic.IEqualityComparer`1"/>.
 /// </summary>
 /// <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> implementation to use when comparing keys, or null to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1"/> for the type of the key.</param>
 public Dictionary(IEqualityComparer <TKey> comparer)
 {
     keys          = new DictionaryKeys(this);
     this.comparer = comparer;
 }