System.Xml.Xsl.IlGen.StorageDescriptor.Parameter C# (CSharp) Method

Parameter() public static method

Create a StorageDescriptor for an item which is a parameter to the current method.
public static Parameter ( int paramIndex, Type itemStorageType, bool isCached ) : StorageDescriptor
paramIndex int
itemStorageType System.Type
isCached bool
return StorageDescriptor
        public static StorageDescriptor Parameter(int paramIndex, Type itemStorageType, bool isCached) {
            StorageDescriptor storage = new StorageDescriptor();
            storage.location = ItemLocation.Parameter;
            storage.locationObject = paramIndex;
            storage.itemStorageType = itemStorageType;
            storage.isCached = isCached;
            return storage;
        }