本文整理汇总了C#中Soprano类的典型用法代码示例。如果您正苦于以下问题:C# Soprano类的具体用法?C# Soprano怎么用?C# Soprano使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Soprano类属于命名空间,在下文中一共展示了Soprano类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ErrorMessage
/// <remarks>
/// Translate an error code into a human-readable error message.
/// </remarks> <short> Translate an error code into a human-readable error message.</short>
public static string ErrorMessage(Soprano.Error.ErrorCode arg1)
{
return (string) staticInterceptor.Invoke("errorMessage$", "errorMessage(Soprano::Error::ErrorCode)", typeof(string), typeof(Soprano.Error.ErrorCode), arg1);
}
示例2: Insert
/// <remarks>
/// Insert a new binding into the set.
/// </remarks> <short> Insert a new binding into the set.</short>
public void Insert(string name, Soprano.Node value)
{
interceptor.Invoke("insert$#", "insert(const QString&, const Soprano::Node&)", typeof(void), typeof(string), name, typeof(Soprano.Node), value);
}
示例3: Replace
/// <remarks>
/// Replaces a value in the binding set.
/// \since 2.3
/// </remarks> <short> Replaces a value in the binding set.</short>
public void Replace(string name, Soprano.Node value)
{
interceptor.Invoke("replace$#", "replace(const QString&, const Soprano::Node&)", typeof(void), typeof(string), name, typeof(Soprano.Node), value);
}
示例4: RemoveAllStatements
public override Soprano.Error.ErrorCode RemoveAllStatements(Soprano.Statement statement)
{
return (Soprano.Error.ErrorCode) interceptor.Invoke("removeAllStatements#", "removeAllStatements(const Soprano::Statement&)", typeof(Soprano.Error.ErrorCode), typeof(Soprano.Statement), statement);
}
示例5: AddStatement
public override Soprano.Error.ErrorCode AddStatement(Soprano.Statement statement)
{
return (Soprano.Error.ErrorCode) interceptor.Invoke("addStatement#", "addStatement(const Soprano::Statement&)", typeof(Soprano.Error.ErrorCode), typeof(Soprano.Statement), statement);
}
示例6: InferenceModel
public InferenceModel(Soprano.Model parent)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("InferenceModel#", "InferenceModel(Soprano::Model*)", typeof(void), typeof(Soprano.Model), parent);
}
示例7: ExecuteQuery
public override Soprano.QueryResultIterator ExecuteQuery(string query, Soprano.Query.QueryLanguage language)
{
return (Soprano.QueryResultIterator) interceptor.Invoke("executeQuery$$", "executeQuery(const QString&, Soprano::Query::QueryLanguage) const", typeof(Soprano.QueryResultIterator), typeof(string), query, typeof(Soprano.Query.QueryLanguage), language);
}
示例8: BackendSetting
/// <remarks>
/// Copy constructor.
/// </remarks> <short> Copy constructor.</short>
public BackendSetting(Soprano.BackendSetting other)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("BackendSetting#", "BackendSetting(const Soprano::BackendSetting&)", typeof(void), typeof(Soprano.BackendSetting), other);
}
示例9: ExecuteQueryAsync
public Soprano.Util.AsyncResult ExecuteQueryAsync(string query, Soprano.Query.QueryLanguage language)
{
return (Soprano.Util.AsyncResult) interceptor.Invoke("executeQueryAsync$$", "executeQueryAsync(const QString&, Soprano::Query::QueryLanguage) const", typeof(Soprano.Util.AsyncResult), typeof(string), query, typeof(Soprano.Query.QueryLanguage), language);
}
示例10: LiteralValue
/// <remarks>
/// Default copy constructor
/// </remarks> <short> Default copy constructor </short>
public LiteralValue(Soprano.LiteralValue other)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("LiteralValue#", "LiteralValue(const Soprano::LiteralValue&)", typeof(void), typeof(Soprano.LiteralValue), other);
}
示例11: SetBackend
/// <remarks>
/// Set the Backend used in the Server to create Models.
/// </remarks> <short> Set the Backend used in the Server to create Models.</short>
public void SetBackend(Soprano.Backend backend)
{
interceptor.Invoke("setBackend#", "setBackend(const Soprano::Backend*)", typeof(void), typeof(Soprano.Backend), backend);
}
示例12: StorageModel
/// <remarks>
/// \param backend The Backend that created this model.
/// </remarks> <short> \param backend The Backend that created this model.</short>
public StorageModel(Soprano.Backend backend)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("StorageModel#", "StorageModel(const Soprano::Backend*)", typeof(void), typeof(Soprano.Backend), backend);
}
示例13: ReadOnlyModel
/// <remarks>
/// Create a new read-only-model
/// \param parentModel The parent Model.
/// </remarks> <short> Create a new read-only-model \param parentModel The parent Model.</short>
public ReadOnlyModel(Soprano.Model parentModel)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("ReadOnlyModel#", "ReadOnlyModel(Soprano::Model*)", typeof(void), typeof(Soprano.Model), parentModel);
}
示例14: SimpleStatementIterator
public SimpleStatementIterator(Soprano.Util.SimpleStatementIterator arg1)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("SimpleStatementIterator#", "SimpleStatementIterator(const Soprano::Util::SimpleStatementIterator&)", typeof(void), typeof(Soprano.Util.SimpleStatementIterator), arg1);
}
示例15: RemoveStatement
public override Soprano.Error.ErrorCode RemoveStatement(Soprano.Statement arg1)
{
return (Soprano.Error.ErrorCode) interceptor.Invoke("removeStatement#", "removeStatement(const Soprano::Statement&)", typeof(Soprano.Error.ErrorCode), typeof(Soprano.Statement), arg1);
}