Pomona.PomonaDataSourceExtensions.Patch C# (CSharp) Method

Patch() public static method

public static Patch ( this dataSource, Type type, object patchedObject ) : object
dataSource this
type System.Type
patchedObject object
return object
        public static object Patch(this IPomonaDataSource dataSource, Type type, object patchedObject)
        {
            if (dataSource == null)
                throw new ArgumentNullException(nameof(dataSource));
            if (type == null)
                throw new ArgumentNullException(nameof(type));
            if (patchedObject == null)
                throw new ArgumentNullException(nameof(patchedObject));

            return patchMethodInvoker(type, dataSource, patchedObject);
        }
PomonaDataSourceExtensions