PKStudio.PortingKitWrapper.CreateLibrary C# (CSharp) Method

CreateLibrary() public method

public CreateLibrary ( string Name, LibraryLevelWrapper Level, string Description, string ProjectPath, bool IsTemplate, ComponentWrapper LibraryCategory ) : LibraryWrapper
Name string
Level LibraryLevelWrapper
Description string
ProjectPath string
IsTemplate bool
LibraryCategory ComponentWrapper
return LibraryWrapper
        public LibraryWrapper CreateLibrary(string Name, LibraryLevelWrapper Level, string Description, string ProjectPath, bool IsTemplate, ComponentWrapper LibraryCategory)
        {
            Library library = new Library
            {
                Name = Name,
                Level = (LibraryLevel)Level,
                Description = Description,
                ProjectPath = ProjectPath
            };
            LibraryWrapper wrapper = BaseWrapper.Wrap<LibraryWrapper>(library);
            wrapper.LibraryCategory = LibraryCategory;
            wrapper.IsTemplate = IsTemplate;
            return wrapper;
        }

Same methods

PortingKitWrapper::CreateLibrary ( string name, string groups, string path, LibraryLevelWrapper level, bool isStub ) : LibraryWrapper
PortingKitWrapper