-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...tion/api/DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#### [DefaultEcs](./index.md 'index') | ||
### [DefaultEcs.Resource](./DefaultEcs-Resource.md 'DefaultEcs.Resource').[ManagedResource<TResource>](./DefaultEcs-Resource-ManagedResource-TResource-.md 'DefaultEcs.Resource.ManagedResource<TResource>') | ||
## ManagedResource<TResource>.Create<TInfo>(TInfo) Method | ||
Create a [ManagedResource<TInfo,TResource>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') object | ||
```C# | ||
public static DefaultEcs.Resource.ManagedResource<TInfo,TResource> Create<TInfo>(TInfo info); | ||
``` | ||
#### Type parameters | ||
<a name='DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo)-TInfo'></a> | ||
`TInfo` | ||
The infos used to identify the resources. | ||
|
||
#### Parameters | ||
<a name='DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo)-info'></a> | ||
`info` [TInfo](#DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo)-TInfo 'DefaultEcs.Resource.ManagedResource<TResource>.Create<TInfo>(TInfo).TInfo') | ||
The info used to identify the resource. | ||
|
||
#### Returns | ||
[DefaultEcs.Resource.ManagedResource<](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>')[TInfo](#DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo)-TInfo 'DefaultEcs.Resource.ManagedResource<TResource>.Create<TInfo>(TInfo).TInfo')[,](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>')[TResource](./DefaultEcs-Resource-ManagedResource-TResource-.md#DefaultEcs-Resource-ManagedResource-TResource--TResource 'DefaultEcs.Resource.ManagedResource<TResource>.TResource')[>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') | ||
The [ManagedResource<TInfo,TResource>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') object. |
20 changes: 20 additions & 0 deletions
20
...on/api/DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo--).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#### [DefaultEcs](./index.md 'index') | ||
### [DefaultEcs.Resource](./DefaultEcs-Resource.md 'DefaultEcs.Resource').[ManagedResource<TResource>](./DefaultEcs-Resource-ManagedResource-TResource-.md 'DefaultEcs.Resource.ManagedResource<TResource>') | ||
## ManagedResource<TResource>.Create<TInfo>(TInfo[]) Method | ||
Create a [ManagedResource<TInfo,TResource>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') object with multiple infos. | ||
```C# | ||
public static DefaultEcs.Resource.ManagedResource<TInfo[],TResource> Create<TInfo>(params TInfo[] infos); | ||
``` | ||
#### Type parameters | ||
<a name='DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo--)-TInfo'></a> | ||
`TInfo` | ||
The infos used to identify the resources. | ||
|
||
#### Parameters | ||
<a name='DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo--)-infos'></a> | ||
`infos` [TInfo](#DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo--)-TInfo 'DefaultEcs.Resource.ManagedResource<TResource>.Create<TInfo>(TInfo[]).TInfo')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array') | ||
The type used to identify a resource. | ||
|
||
#### Returns | ||
[DefaultEcs.Resource.ManagedResource<](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>')[TInfo](#DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo--)-TInfo 'DefaultEcs.Resource.ManagedResource<TResource>.Create<TInfo>(TInfo[]).TInfo')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array')[,](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>')[TResource](./DefaultEcs-Resource-ManagedResource-TResource-.md#DefaultEcs-Resource-ManagedResource-TResource--TResource 'DefaultEcs.Resource.ManagedResource<TResource>.TResource')[>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') | ||
The [ManagedResource<TInfo,TResource>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') object. |
16 changes: 16 additions & 0 deletions
16
documentation/api/DefaultEcs-Resource-ManagedResource-TResource-.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#### [DefaultEcs](./index.md 'index') | ||
### [DefaultEcs.Resource](./DefaultEcs-Resource.md 'DefaultEcs.Resource') | ||
## ManagedResource<TResource> Class | ||
Provides static methods for creating [ManagedResource<TInfo,TResource>](./DefaultEcs-Resource-ManagedResource-TInfo_TResource-.md 'DefaultEcs.Resource.ManagedResource<TInfo,TResource>') object. | ||
```C# | ||
public static class ManagedResource<TResource> | ||
``` | ||
Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') > [ManagedResource<TResource>](./DefaultEcs-Resource-ManagedResource-TResource-.md 'DefaultEcs.Resource.ManagedResource<TResource>') | ||
#### Type parameters | ||
<a name='DefaultEcs-Resource-ManagedResource-TResource--TResource'></a> | ||
`TResource` | ||
The type of the resource. | ||
|
||
### Methods | ||
- [Create<TInfo>(TInfo)](./DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo).md 'DefaultEcs.Resource.ManagedResource<TResource>.Create<TInfo>(TInfo)') | ||
- [Create<TInfo>(TInfo[])](./DefaultEcs-Resource-ManagedResource-TResource--Create-TInfo-(TInfo--).md 'DefaultEcs.Resource.ManagedResource<TResource>.Create<TInfo>(TInfo[])') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters