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)); }
ICustomProperty ICustomPropertyProvider.GetCustomProperty(string name) { // _value should not be null return(ICustomPropertyProviderImpl.CreateProperty((object)_value, name)); }
ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType) { return(ICustomPropertyProviderImpl.CreateIndexedProperty((object)this._value, name, indexParameterType)); }
ICustomProperty ICustomPropertyProvider.GetCustomProperty(string name) { return(ICustomPropertyProviderImpl.CreateProperty((object)this._value, name)); }
ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType) { return(ICustomPropertyProviderImpl.CreateIndexedProperty(_target, name, indexParameterType)); }
// // ICustomPropertyProvider implementation // ICustomProperty ICustomPropertyProvider.GetCustomProperty(string name) { return(ICustomPropertyProviderImpl.CreateProperty(_target, name)); }