Esempio n. 1
0
        internal unsafe static ICustomProperty CreateIndexedProperty(object target, string propertyName, TypeNameNative *pIndexedParamType)
        {
            Type indexedParamType = null;

            SystemTypeMarshaler.ConvertToManaged(pIndexedParamType, ref indexedParamType);
            return(ICustomPropertyProviderImpl.CreateIndexedProperty(target, propertyName, indexedParamType));
        }
 ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType)
 {
     // _value should not be null
     return(ICustomPropertyProviderImpl.CreateIndexedProperty((object)_value, name, indexParameterType));
 }
Esempio n. 3
0
 ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType)
 {
     return(ICustomPropertyProviderImpl.CreateIndexedProperty((object)this._value, name, indexParameterType));
 }
 ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType)
 {
     return(ICustomPropertyProviderImpl.CreateIndexedProperty(_target, name, indexParameterType));
 }